.pie {
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  background: var(--carbon) url("../assets/img/footer-background.svg") center / cover no-repeat;
  color: rgba(255, 255, 255, .72);
}
.pie::before { display: none; }
.pie::after { height: 2px; background: var(--rojo); }

.pie__inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 2rem;
}
.pie__columna {
  min-width: 0;
  padding: 0;
  gap: 1rem;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}
.pie__columna--links .pie__bloques {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}
.pie__columna--info {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.pie__titulo {
  margin-bottom: .75rem;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
}
.pie__linea {
  width: 20px;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--rojo-vivo);
  font-size: 0;
}
.pie__lista { gap: .6rem; }
.pie__lista a {
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  line-height: 1.6;
}
.pie__lista a::after { background: var(--rojo-vivo); }
.pie__lista a:hover { color: #fff; }

.pie__btn-mapa {
  align-self: flex-start;
  padding: .25rem 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: .8rem;
  transition: color var(--transicion);
}
.pie__btn-mapa svg {
  width: 16px;
  height: 16px;
  color: var(--rojo-vivo);
  transition: none;
}
.pie__btn-mapa:hover {
  background: none;
  color: var(--rojo-vivo);
  transform: none;
}
.pie__btn-mapa:hover svg { color: var(--rojo-vivo); transform: none; }
.pie__direccion {
  min-width: 0;
  gap: .45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  line-height: 1.6;
}
.pie__etiqueta {
  margin-bottom: .25rem;
  padding-bottom: 0;
  border: 0;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.pie__etiqueta::before { background: var(--rojo-vivo); }
.pie__calle {
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-top: 0;
  color: inherit;
  font-weight: 400;
}
.pie__ciudad {
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
.pie__contactos {
  min-width: 0;
  gap: .1rem;
  margin-top: .65rem;
  padding-top: .65rem;
  border-color: rgba(255, 255, 255, .12);
}
.pie__contacto-item {
  min-width: 0;
  padding: .4rem 0;
  margin: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .82);
  transition: color var(--transicion);
}
.pie__contacto-item span { font-weight: 500; letter-spacing: normal; }
.pie__contacto-item svg {
  width: 15px;
  height: 15px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--rojo-vivo);
  transition: none;
}
.pie__contacto-item:hover { background: none; color: #fff; }
.pie__contacto-item:hover svg { background: none; color: var(--rojo-vivo); }
.pie__logo {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .75rem;
  padding-top: 0;
  border: 0;
}
.pie__logo img {
  height: 34px;
  max-width: 100%;
  object-fit: contain;
  opacity: .72;
  filter: brightness(0) invert(1);
  transition: opacity var(--transicion);
}
.pie__logo a:hover img,
.pie__logo a:focus-visible img {
  opacity: 1;
  filter: brightness(0) invert(1);
}
.pie__instagram {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: rgba(255, 255, 255, .72);
  transition: color var(--transicion), border-color var(--transicion);
}
.pie__instagram svg { width: 22px; height: 22px; }
.pie__instagram:hover,
.pie__instagram:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}
.pie__legal {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, .62);
  font-size: .75rem;
}
.pie a:focus-visible {
  outline: 2px solid var(--rojo-vivo);
  outline-offset: 5px;
}

@media (max-width: 1500px) {
  .pie__logo { padding-right: 7rem; }
}
@media (max-width: 980px) {
  .pie__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .pie__columna--info {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
}
@media (max-width: 600px) {
  .pie__logo { padding-right: 4rem; }
  .pie__columna--links .pie__bloques {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.25rem;
  }
}
