.site-footer {
  background-color: #000;
  color: #fff;
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  gap: 1rem;
  width: 100%;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-name {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2rem;
}

.footer-tagline {
  font-size: 1rem;
  font-style: italic;
  color: #bbb;
  margin-top: 0.25rem;
}

.footer-contact,
.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.footer-contact h4,
.footer-links h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent, #dc2626);
}

.footer-contact a,
.footer-links a,
.footer-social a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-social a:hover,
.footer-bottom a:hover {
  color: var(--accent, #dc2626);
}

.footer-contact address {
  font-style: normal;
  cursor: pointer;
}

.footer-contact p,
.footer-contact address {
  margin: 0.25rem 0;
  line-height: 1.4;
}

.footer-action-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-action-group>div {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-icons,
.footer-booksy-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.booksy-link,
.instagram-link,
.facebook-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}

.booksy-logo,
.instagram-logo,
.facebook-logo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.booksy-logo.base,
.instagram-logo.base,
.facebook-logo.base {
  z-index: 1;
}

.booksy-logo.hover,
.instagram-logo.hover,
.facebook-logo.hover {
  opacity: 0;
  z-index: 2;
}

.booksy-link:hover .booksy-logo.hover,
.instagram-link:hover .instagram-logo.hover,
.facebook-link:hover .facebook-logo.hover {
  opacity: 1;
}

.booksy-link:hover .booksy-logo.base,
.instagram-link:hover .instagram-logo.base,
.facebook-link:hover .facebook-logo.base {
  opacity: 0;
}

.footer-bottom {
  border-top: 1px solid var(--accent);
  margin-top: 3rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "brand contact actions";
    column-gap: 2rem;
    align-items: start;
    text-align: left;
  }

  .footer-brand {
    grid-area: brand;
    align-items: flex-start;
    text-align: left;
  }

  .footer-logo-wrapper {
    justify-content: flex-start;
  }

  .footer-name {
    text-align: left;
    margin-top: 2.5rem;
  }

  .footer-contact {
    grid-area: contact;
  }

  .footer-action-group {
    grid-area: actions;
    flex-direction: column;
  }

  .footer-action-group>div,
  .footer-links,
  .footer-social {
    align-items: center;
    text-align: center;
    width: 100%;
  }
}