/**
 * Footer Styles
 */

.as-footer {
  background: var(--as-color-text);
  color: #fff;
  padding: 60px 24px 20px;
  margin-top: 80px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.as-footer__container {
  max-width: var(--as-container);
  margin: 0 auto;
}

.as-footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.as-footer__section {
  animation: slideInUp 0.6s ease-out backwards;
}

.as-footer__section:nth-child(2) {
  animation-delay: 0.1s;
}

.as-footer__section:nth-child(3) {
  animation-delay: 0.2s;
}

.as-footer__section:nth-child(4) {
  animation-delay: 0.3s;
}

.as-footer__branding {
  grid-column: 1;
}

.as-footer__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
}

.as-footer__description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.as-footer__heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
}

.as-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.as-footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.as-footer__link:hover {
  color: #fff;
}

.as-footer__contact-list {
  font-size: 13px;
  line-height: 1.8;
}

.as-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as-footer__contact-label {
  color: #fff;
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-weight: 700;
}

.as-footer__contact-item--first .as-footer__contact-label {
  margin-top: 0;
}

.as-footer__contact-text {
  color: rgba(255, 255, 255, 0.8);
  display: block;
}

.as-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.as-footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px 0;
}

.as-footer__bottom .as-footer__link {
  color: #fff;
}

.as-footer__bottom .as-footer__link:hover {
  color: var(--as-color-primary);
}

.as-footer__credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-style: italic;
}

@media (max-width: 1000px) {
  .as-footer__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .as-footer__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .as-footer__branding {
    grid-column: 1;
  }

  .as-footer {
    padding: 40px 24px 20px;
    margin-top: 60px;
  }
}
