/* =========================
   MP Footer (Options + WP menu)
   ========================= */

.mp-footer {
  --mp-footer-bg: #f6c9d1; /* muuda vajadusel */
  --mp-footer-text: #111;
  --mp-footer-line: #000;
  --mp-footer-max: 1136px;

  background: var(--clr-4);
  color: var(--mp-footer-text);
  padding: 84px 0 28px;
}

.mp-footer__inner {
  max-width: var(--mp-footer-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* vasak jääb vasakule */
.mp-footer__brand {
  justify-self: start;
}

/* parem lükatakse paremale */
.mp-footer__contact {
  justify-self: end;
  text-align: left;
}

@media (max-width: 980px) {
  .mp-footer__contact {
    justify-self: start;
  }
}
.mp-footer__logo img {
  display: block;
  width: 150px; /* vajadusel */
  height: auto;
}

.mp-footer__brandtext {
  margin-top: 28px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 300px;
}

.mp-footer__title {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 18px;
}

/* menu */
.mp-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.mp-footer__nav a {
  color: inherit;
  text-decoration: none;
  font-size: 22px;
  line-height: 1.25;
}

.mp-footer__nav a:hover {
  text-decoration: underline;
}

/* contacts */
.mp-footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.mp-footer__contactitem {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
}

.mp-footer__contacticon img {
  width: 25px;
  height: 25px;
  display: block;
}

.mp-footer__contacttext,
.mp-footer__contacttext a {
  color: inherit;
  text-decoration: none;
  line-height: 1.25;
}

.mp-footer__contacttext a:hover {
  text-decoration: underline;
}

/* bottom */
.mp-footer__bottom {
  margin-top: 10px;
}

.mp-footer__bottominner {
  max-width: var(--mp-footer-max);
  margin: 0 auto;
  padding: 22px 20px 0;
  border-top: 1px solid var(--mp-footer-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mp-footer__copyright {
  font-size: 18px;
  font-weight: 200;
}

/* socials */
.mp-footer__social {
  display: flex;
  gap: 16px;
}

.mp-footer__socialbtn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mp-footer__socialbtn img {
  width: 30px;
  height: 30px;
  display: block;
}

/* responsive */
@media (max-width: 980px) {
  .mp-footer {
    padding: 56px 0 22px;
  }

  .mp-footer__inner {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-bottom: 50px;
  }

  .mp-footer__brandtext {
    max-width: 520px;
  }

  .mp-footer__bottominner {
    flex-direction: column;
    align-items: center;
  }
}
