/* ============ BASE ============ */
.footer {
  background: #FAFAFA;
  padding: 10px 0 20px;
}
.footer-inner {
  width: 100%;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-pagination {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.footer-main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-logo img {
  max-width: 180px;
  display: block;
}
.footer-contacts {
  flex: 3;
  min-width: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-contacts p {
  margin: 0;
  font-family: Roboto;
  font-size: 14px;
}
.footer-social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.footer-social-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;
}
.footer-reviews {
  font-family: Roboto;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 8px;
}
.footer-copy {
  text-align: center;
  margin-top: 30px;
  color: #666;
  font-size: 13px;
}

/* ============ MOBILE (<= 767px) ============ */
@media (max-width: 767px) {
  .footer {
    padding: 20px 0 30px;
  }
  .footer-inner {
    padding: 0 20px;
  }
  .footer-pagination {
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
  }
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer-logo img {
    max-width: 110px; /* маленькое лого */
    margin-bottom: 10px;
  }
  .footer-contacts {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: unset;
  }
  .footer-contacts p {
    font-size: 18px;
    text-align: center;
  }
  .footer-social-icons a {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .footer-reviews {
    font-size: 20px;
    margin-top: 10px;
  }
  .footer-copy {
    font-size: 16px;
    margin-top: 24px;
  }
}

/* ============ TABLETS (768–1024px) ============ */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-inner {
    padding: 0 40px;
  }
  .footer-pagination {
    justify-content: center;
    width: 100%;
  }
  .footer-logo {
    display: none;
  }
  .footer-contacts {
    min-width: 60%;
    justify-content: space-around;
  }
  .footer-contacts p {
    font-size: 18px;
  }
  .footer-social-icons {
    gap: 25px;
  }
}