.footer {
  background: url('../../assets/footer-bg.png') no-repeat center center;
  gap: var(--y-space-32);
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000CC;
  z-index: 1;
}
.footer > .container:nth-child(1) {
  padding-top: var(--y-space-32);
  padding-bottom: var(--y-space-32);
  margin: var(--y-space-0) auto;
  padding-left: var(--y-space-24);
  padding-right: var(--y-space-24);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  z-index: 2;
  position: relative;
}
footer .links {
  gap: var(--y-space-24);
}
.footer * {
  color: white;
}
.footer .logo {
  display: flex;
  align-items: center;
}
footer ul li a {
  display: flex;
  align-items: center;
  gap: var(--y-space-8);
  text-decoration: none;
  color: white;
  transition: color var(--y-transition), transform var(--y-transition);
  font-size: var(--y-text-sm);
}
footer .imgs-row img {
  width: 100px;
  object-fit: contain;
}
footer .imgs-row {
  display: flex;
  gap: var(--y-space-8);
  padding-top: var(--y-space-20);
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--y-space-22);
}
footer .main ul {
  gap: var(--y-space-22);
}
footer .main {
  padding-left: var(--y-space-24);
}
:is(footer ul li a, .footer-links a):hover {
  color: var(--y-color-secondary);
  transform: translateX(-var(--y-space-2));
}
footer .logo a {
  background-color: transparent;
  border-radius: var(--y-space-8);
  display: grid;
  place-items: center;
  border-radius: var(--y-space-104);
}
.footer .logo img {
  width: 172px;
  object-fit: contain;
  transition: transform var(--y-transition);
  cursor: pointer;
  margin-bottom: var(--y-space-16);
}
.footer .logo img:hover {
  transform: scale(1.1);
}
.footer .main p {
  line-height: var(--y-space-36);
  font-size: var(--y-text-sm);
  width: 298px;
}
.footer-links {
  display: flex;
  justify-content: space-around;
  padding-block: var(--y-space-40);
}
.footer-links ul {
  list-style: none;
  gap: var(--y-space-28);
  display: grid;
  color: var(--y-color-bg);
}
.links h2 {
  color: var(--y-color-fg);
  padding-bottom: var(--y-space-12);
  border-bottom: 2px solid white;
  width: fit-content;
}

.footer-links a {
  color: var(--y-color-fg);
  transition: color var(--y-transition), transform var(--y-transition);
}

footer p {
  color: white;
  font-size: var(--y-text-sm);
}
footer li {
  display: flex;
  align-items: center;
  height: min-content;
}
.social-media-links {
  gap: var(--y-space-12) !important;
}

.social-media-links .social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: white;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.social-media-links .social-btn:hover {
  transform: translateY(-2px) scale(1.03);
  opacity: 0.92;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.social-snapchat {
  background: #f7e04c;
  color: #111;
  border-color: rgba(0,0,0,0.08);
}

.social-x {
  background: #0f1419;
}

.social-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 40%, #8134af 70%, #515bd4 100%);
}

.social-facebook {
  background: #1773ea;
}

.social-whatsapp {
  background: #25d366;
}

.social-phone {
  background: var(--y-color-secondary);
}

.social-tiktok {
  background: #000;
}
.footer .bottom > div {
  padding-block: var(--y-space-24);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-top: 1px solid white;
  padding-top: var(--y-space-24);
  width: 100%;
  z-index: 2;
  position: relative;
}
.footer .bottom .payments {
  display: flex;
  align-items: center;
  gap: var(--y-space-8);
  justify-self: flex-end;
}
.footer .bottom .payments img {
  width: 65px;
  object-fit: contain;
  transition: all 0.3s ease;
}
.footer .bottom .payments img:hover {
  transform: scale(1.1);
}

.footer .container {
  gap: var(--y-space-24);
}

@media (max-width: 992px) {
  .footer > .container:nth-child(1) {
    grid-template-columns: 1fr 1fr;
    gap: var(--y-space-32);
  }

  footer .main p {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-inline: var(--y-space-18);
  }

  .footer > .container:nth-child(1) {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--y-space-28);
  }

  footer .main,
  .footer-links,
  .links,
  .footer-links-container {
    align-items: center;
    text-align: center;
  }

  footer .links ul {
    align-items: center;
  }

  footer .bottom > div {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: var(--y-space-16);
  }

  .footer .bottom .payments {
    justify-self: center;
    flex-wrap: wrap;
  }

  .social-media-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--y-space-12);
  }
}

@media (max-width: 480px) {
  .footer > .container:nth-child(1) {
    padding-top: var(--y-space-24);
    padding-bottom: var(--y-space-24);
    gap: var(--y-space-24);
  }

  .footer-links {
    flex-wrap: wrap;
    gap: var(--y-space-16);
    padding-block: var(--y-space-24);
  }

  .footer-links ul {
    gap: var(--y-space-16);
    text-align: center;
  }

  .footer-links a {
    padding: var(--y-space-6) var(--y-space-12);
    font-size: var(--y-text-sm);
  }

  footer .main p {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .links h2 {
    font-size: 1.05rem;
  }

  footer .bottom > div {
    padding-block: var(--y-space-20);
  }

  .social-media-links .social-btn {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
}
