/* ==========================================================================
   Pie de página
   Tema hijo anpperu (Comité Paralímpico del Perú)
   ========================================================================== */
/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.pie {
  position: relative;
  overflow: hidden;
  background: var(--noche);
  color: #c9d5ea;
  padding-top: clamp(3.5rem, 2rem + 4vw, 5rem);
  font-size: var(--t-sm);
}
.pie a { text-decoration: none; }
.pie a:hover { color: var(--blanco); text-decoration: underline; }
.pie-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.pie-marca img { width: 96px; height: 96px; margin-bottom: 1.25rem; background: var(--blanco); border-radius: 50%; }
.pie-marca .pie-nombre {
  font-stretch: 118%;
  font-weight: 800;
  font-size: var(--t-md);
  color: var(--blanco);
  line-height: 1.15;
}
.pie-marca p { margin-top: 0.5rem; max-width: 34ch; }
.pie h2 {
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 1rem;
}
.pie ul { display: grid; gap: 0; }
.pie ul a { display: inline-flex; align-items: center; min-height: 44px; }
.pie address { font-style: normal; display: grid; gap: 0.85rem; }
.pie address strong { display: block; color: var(--blanco); font-weight: 600; }
.pie .redes { margin-top: 1.25rem; }
.pie .redes a { width: 44px; height: 44px; border: 1.5px solid rgba(255, 255, 255, 0.6); color: var(--blanco); }
.pie .redes a:hover { background: var(--rojo-fuerte); border-color: var(--rojo-fuerte); text-decoration: none; }
.pie-legal {
  position: relative;
  margin-top: 3.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem;
  font-size: var(--t-xs);
}
.pie-agitos {
  position: absolute;
  right: -120px; top: -60px;
  width: 520px;
  opacity: 0.16;
  pointer-events: none;
}

@media (max-width: 960px) {
  .pie-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pie-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.pie-legal-enlaces { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.pie-legal-enlaces a { display: inline-flex; align-items: center; min-height: 44px; }

/* Menú legal (wp_nav_menu) */
.pie .pie-legal-enlaces { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.pie-legal nav { margin: 0; }
