footer .socbox--item {
  display: block;
  width: 30px;
  height: 22px;
  transition: all .2s ease-in-out;
}

footer .socbox--item.-vk {
  background: transparent url(../img/icon-vk.svg) center no-repeat;
}

footer .socbox--item.-pn {
  background: transparent url(../img/icon-pn.svg) center no-repeat;
}

footer .socbox--item.-tg {
  background: transparent url(../img/icon-tg.svg) center no-repeat;
}

footer .socbox--item.-wa {
  background: transparent url(../img/icon-wa.svg) center no-repeat;
  border-radius: 11px 11px 11px 0;
}

footer .socbox--item:hover {
  /* box-shadow: 0 0 22px var(--primary); */
  filter: contrast(.5);
}

.bhead .bflex {
  justify-content: space-between;
  gap: 1.75rem 1rem;
}

.bhead .bflex--item {
  flex-direction: row;
  align-items: center;
  width: fit-content;
}

.bhead .bflex--item.cbox {
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
}

footer img {
  display: block;
}

@media (max-width: 767.9px) {
  .bhead .bflex {
    flex-direction: column;
  }

  .bhead .bflex--item {
    width: 100%;

  }

  .bhead .bflex--item.cbox {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 550px) {
  .bhead .bflex--item.cbox {
    flex-direction: column-reverse;
  }
}

footer .bmenu {
  margin: 1.6rem 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--secondary);
  border-bottom: 1px solid var(--secondary);
  gap: 1.375rem;
}

footer .bmenu .bgrid {
  padding: 0;
}

footer .bmenu .bgrid--item,
.wrapp-links {
  display: flex;
  flex-direction: column;
  gap: .63rem;
}

footer .bmenu h5 {
  position: relative;
  font-family: var(--font-copy);
  font-size: 1rem;
  line-height: 1.1;
  padding-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .bmenu h5 input[type=checkbox] {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

footer .bmenu a {
  font-size: .69rem;
  display: block;
  color: var(--primary);
}

footer .bmenu a:hover {
  color: var(--secondary);
}

footer .bmenu h5::after {
  content: url(../img/icon-dd-down.svg);
  display: none;
  transition: all .3s ease-in-out;
}

@media (max-width: 475px) {
  footer .bmenu .bgrid--item {
    gap: 0;
  }

  footer .bmenu h5::after {
    display: inline-block;
    z-index: -1;
  }

  .wrapp-links {
    gap: .63rem;
    height: auto;
    overflow: hidden;
    max-height: 0;
    transition: all .3s ease-in-out;
  }

  .wrapp-links a:first-of-type {
    margin-top: 0.63rem;
  }

  footer .bmenu h5:has(input[type=checkbox]:checked) + .wrapp-links {
    max-height: fit-content;
  }

  footer .bmenu h5:has(input[type=checkbox]:checked)::after {
    transform: rotate(-180deg);
  }
}

footer .bcopy {
  color: var(--grey-dark);
  font-size: .69rem;
  margin-bottom: 3rem;
}

footer .bcopy a {
  color: var(--grey-dark);
}

footer .bcopy .bflex {
  justify-content: space-between;
}

footer .bcopy .bflex--item {
  width: fit-content;
  flex-direction: row;
}

footer .bcopy .bflex--item:first-of-type {
  flex-direction: column;
  gap: .25rem;
  order: 1;
}

footer .bcopy .bflex--item:nth-child(2) {
  order: 2;
}

footer .bcopy .bflex--item:nth-child(3) {
  order: 3;
}

@media (max-width: 991.9px) {
  footer .bcopy .bflex {
    flex-wrap: wrap;
  }

  footer .bcopy .bflex--item:nth-child(2) {
    order: 3
  }

  footer .bcopy .bflex--item:nth-child(3) {
    order: 2;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.9px) {
  footer .bcopy .bflex--item:nth-child(3) {
    flex-direction: column;
    gap: .75rem;
  }
}

.botmenu {
  display: none;
  width: 100%;
  height: 57px;
  position: fixed;
  z-index: 1100;
  bottom: 0;
  background-color: hsl(from var(--body-bg) h s l / 72);
  justify-content: space-evenly;
  align-items: flex-end;
  padding-bottom: 0.5rem;
}

.botmenu a {
  font-size: .625rem;
  color: var(--secondary);
  filter: grayscale(1);
  display: block;
  text-align: center;
  padding-top: 2em;
  position: relative;
  transition: all .2s ease-in-out;
}

.botmenu a:hover,
.botmenu a:active,
.botmenu a.active {
  filter: grayscale(0);
  text-decoration: none;
}

.botmenu a.serv {
  filter: unset;
  color: var(--grey);
}

.botmenu a.serv:hover {
  color: var(--secondary);
}

.botmenu--item a::before {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 1.4em;
  transform: translateX(-50%);
}

.botmenu--item.-ho a::before {
  content: url(../img/m-menu-home.svg);
}

.botmenu--item.-po a::before {
  content: url(../img/m-menu-portfolio.svg);
}

.botmenu--item.-pr a::before {
  content: url(../img/m-menu-pricing.svg);
}

.botmenu--item.-se a::before {
  content: url(../img/m-menu-service.svg);
}

@media (max-width: 475px) {
  body {
    padding-bottom: 60px;
  }

  .botmenu {
    display: flex;
  }
}

footer .socbox--item.-max {
  background: transparent url(../img/icon-max.svg) center / 22px 22px no-repeat;
}

body > footer{padding-top:48px;}
@media(max-width:767px){body > footer{padding-top:32px;}}
