
/* =====================================
   FOOTER BASE
===================================== */

.v-footer {
  width: 100%;
  padding: 70px 4vw 24px;
  background: #ffffff;
  color: #171717;
  font-family: "Jost", sans-serif;
  box-sizing: border-box;
}

.v-footer-inner {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}


/* =====================================
   NAVIGATION BOXES
===================================== */

.v-footer-navigation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.v-footer-box {
  position: relative;
  min-height: 145px;
  padding: 16px;
  border: 1px solid #d5d3ce;
  color: #171717;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .3s ease, border-color .3s ease;
}

.v-footer-box:hover {
  background: #eceae5;
  border-color: #C62828;
}

.v-footer-box-label {
  font-size: 10px;
  letter-spacing: .12em;
  color: #777;
}

.v-footer-box-title {
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
  transition: color .3s ease;
}

.v-footer-box:hover .v-footer-box-title {
  color: #C62828;
}

.v-footer-box-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 16px;
  color: #C62828;
  transition: transform .3s ease;
}

.v-footer-box:hover .v-footer-box-arrow {
  transform: translate(3px, -3px);
}


/* =====================================
   SOCIAL MEDIA
===================================== */

.v-footer-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 0;
  border-bottom: 1px solid #d5d3ce;
}

.v-footer-social-label {
  font-size: 10px;
  letter-spacing: .14em;
  color: #777;
}

.v-footer-social-links {
  display: flex;
  gap: 28px;
}

.v-footer-social-links a {
  color: #171717;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .08em;
  transition: color .2s ease;
}

.v-footer-social-links a:hover {
  color: #C62828;
}


/* =====================================
   LEGAL / BOTTOM BAR
===================================== */

.v-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  font-size: 10px;
  letter-spacing: .08em;
}

.v-footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.v-footer-bottom a {
  color: #171717;
  text-decoration: none;
  opacity: .6;
  transition: color .2s ease, opacity .2s ease;
}

.v-footer-bottom a:hover {
  color: #C62828;
  opacity: 1;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .v-footer {
    padding: 45px 5vw 20px;
  }

  /* Navigation: 2 boxes + 3 boxes */

  .v-footer-navigation {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .v-footer-box {
    grid-column: span 3;
    min-height: 125px;
    padding: 14px;
  }

  .v-footer-box:nth-child(3),
  .v-footer-box:nth-child(4),
  .v-footer-box:nth-child(5) {
    grid-column: span 2;
  }

  .v-footer-box-title {
    font-size: clamp(18px, 5vw, 25px);
  }

  .v-footer-box-arrow {
    right: 14px;
    bottom: 14px;
  }

  /* Social media */

  .v-footer-social {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 28px 0;
  }

  .v-footer-social-links {
    flex-wrap: wrap;
    gap: 18px;
  }

  /* Legal links */

  .v-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .v-footer-legal {
    gap: 12px 18px;
  }

}

.v-footer-box-description {
  max-width: 210px;
  margin: 14px 25px 0 0;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .015em;
  color: #777;
  transition: color .3s ease;
}

.v-footer-box:hover .v-footer-box-description {
  color: #444;
}

/* Mobile description */
@media (max-width: 768px) {
  .v-footer-box-description {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 10px;
    margin-right: 12px;
  }
}
