footer{
  position: relative;
  z-index: 2;
  background-color: var(--c_offwhite);
  padding-top: 4vw;
}
footer .inner{
  padding: 6vw 4vw 7vw 4vw;
  border-top: 1px solid var(--c_border);
}
footer .wrapper{
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-template-areas: 
  "info links"
  "bottom bottom";
  gap: 1em clamp(2em, 9vw, 10em);
}

@media screen and (max-width: 1160px){
  footer .wrapper{
    gap: 1em clamp(2em, 5vw, 10em);
  }
}
@media screen and (max-width: 960px){
  footer .wrapper{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4em;
  }
}
@media screen and (max-width: 520px){
  footer .inner{
    padding: 4em 4vw 3em 4vw;
    border-top: 1px solid var(--c_border);
  }
  footer .wrapper{
    width: 100%;
    gap: 3em;
    padding-inline: 2vw;
    box-sizing: border-box;
  }
}

/*--------------------------------------------------------------------*/
/* info */

footer .wrapper .info{
  grid-area: info;
  display: flex;
  flex-direction: column;
}
footer .wrapper .info .logo{
  margin-bottom: 3em;
}
footer .wrapper .info .address{
  margin-bottom: 2em;
}
footer .wrapper .info .address a{
  text-decoration: underline;
  margin-top: .5em;
}
footer .wrapper .info address{
  font-style: normal;
}
footer .wrapper .info .reach{
  display: grid;
  grid-template-columns: auto auto auto;
  gap: .5em 1.5em;
}
footer .wrapper .info .reach .line{
  display: contents;
}
footer .wrapper .info .reach .line .label{
  padding-right: 1em;
}
footer .wrapper .info .textpages{
  display: flex;
  margin-top: auto;
  padding-top: 2em;
}

@media screen and (max-width: 1160px){
  footer .wrapper .info .reach{
    display: flex;
    flex-direction: column;
  }
  footer .wrapper .info .reach .line{
    display: flex;
    gap: 0 2em;
    flex-wrap: wrap;
    margin-bottom: 1em;
  }
  footer .wrapper .info .reach .line .label{
    width: 100%;
  }
}
@media screen and (max-width: 960px){
  footer .wrapper .info{
    text-align: center;
  }
  footer .wrapper .info .reach .line{
    justify-content: center;
  }
}
@media screen and (max-width: 520px){
  footer .wrapper .info{
    text-align: left;
    align-items: center;
  }
  footer .wrapper .info .logo{
    max-width: 50vw;
    margin-bottom: 2em;
  }
  footer .wrapper .info .reach{
    flex-direction: row;
    gap: 3em;
    border-top: 1px solid var(--c_border);
    border-bottom: 1px solid var(--c_border);
    padding-block: 2em;
    width: 100%;
    justify-content: center;
    margin-top: 2em;
  }
  footer .wrapper .info .reach .line{
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }
  footer .wrapper .info .reach .line .label{
    padding-right: 0;
    margin-bottom: .5em;
  }
}

/*--------------------------------------------------------------------*/
/* links */

footer .links{
  grid-area: links;
}
footer .links .block{
  gap: 0 clamp(2em, 5vw, 100px);
}
footer .links .block nav{
  width: 20em;
}
footer .links .block nav .parent .button{
  border-color: transparent;
  padding-block: .75em;
}
footer .links .block nav .children{
  padding-top: 0;
}
footer .links .block nav .children .button{
  padding-block: .5em;
}
footer .links .block hr{
  margin: .75em 0;
}
@media screen and (max-width: 960px){
  footer .links .block{
    flex-direction: column;
    align-items: stretch;
  }
  footer .links .block nav{
    width: auto;
  }
}

/*--------------------------------------------------------------------*/
/* bottom */

footer .bottom{
  grid-area: bottom;
}
footer .bottom .textpages .line{
  gap: 0 2em;
}
footer .copyright{
  opacity: .6;
}
@media screen and (max-width: 520px){
  footer .bottom .textpages{
    font-size: 12px;
  }
  footer .copyright{
    font-size: 10px;
  }
}