/* ===== FOOTER ===== */

.footer {
  font-family: var(--font-main);
}

/* Main section */
.footer-main {
  background-color: var(--color-secondary-dark);
  padding: 72px 0 56px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 280px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Column titles */
.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
}

/* Link lists */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

/* Contact list */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-contact li a:hover {
  color: #ffffff;
}

/* Bottom bar */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 16px 0;
}

.footer-bottom .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: unset;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.footer-privacy-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer-privacy-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-description {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .footer-main {
    padding: 48px 0 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 16px;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom .footer-container {
    padding: 0 24px;
  }
}
