/* =============================================================
   SECTION: FOOTER
   ============================================================= */
.footer {
  background-color: var(--color-dark);
  padding-top: 60px;
  padding-bottom: 30px;
  width: 100%;
}

.footer__divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.06);
  margin-top: 45px;
  margin-bottom: 45px;
  border: none;
}

.footer__divider--tablet-1,
.footer__divider--tablet-3 {
  display: block;
}

.footer__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 28px;
  line-height: 120%;
}

/* Brand and Socials */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__logo-link {
  display: inline-block;
  text-decoration: none !important;
}

.footer__logo {
  height: auto;
  max-width: 180px;
}

.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #F5F4EC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__email:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer__email-icon {
  width: 20px;
  height: 20px;
}

/* Social icons */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  text-decoration: none !important;
  transition: transform 0.3s ease;
}

.footer__social-link:hover {
  transform: translateY(-2px);
}

.footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Information Menu Links */
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 14px;
}

.footer__links li:last-child {
  margin-bottom: 0;
}

.footer__links a {
  font-size: 15px;
  color: #FFFFFF6B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--color-white);
  text-decoration: none;
}

/* We Pay On payment grid */
.footer__pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  /* max-width: 320px; */
}

.footer__pay-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
}

.footer__pay-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Partners section */
.footer__partners-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__partners-img {
  max-width: 454px;
  width: 100%;
  height: auto;
}

.footer__partners-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__age-icon,
.footer__dmca-icon {
  height: 24px;
  width: auto;
}

/* Copyright footer */
.footer__bottom {
  text-align: left;
}

.footer__copyright {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* =============================================================
   ADAPTIVE LAYOUTS
   ============================================================= */

/* Mobile view (Stack elements vertically and align left) */
.footer__top-row {
  display: flex;
  flex-direction: column;
}

.footer__level-1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__level-2 {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__partners-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Tablet view */
@media (min-width: 768px) {
  .footer__level-1 {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__level-2 {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__partners-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__bottom {
    text-align: center;
  }
}

/* Desktop view */
@media (min-width: 1220px) {
  .footer__divider--tablet-1 {
    display: none;
  }

  .footer__top-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__level-1 {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: auto;
  }

  .footer__level-2 {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 120px;
    width: auto;
  }
}