/* Footer styles — aesthetic, responsive */
.site-footer {
  background: linear-gradient(180deg, #f6efe2 0%, #eee4d3 56%, #e8ddcb 100%);
  color: #3f3527;
  padding: clamp(3.3rem, 5.4vw, 5rem) 0 1.7rem;
  border-top: 1px solid rgba(123, 91, 46, 0.16);
  box-shadow: 0 -10px 22px rgba(56, 39, 16, 0.05);
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.86fr) minmax(0, 1.05fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
}

.site-footer h4 {
  color: #2a281f;
  margin: 0 0 0.88rem;
  font-size: 1.01rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-logo {
  max-width: 170px;
  display: block;
  margin-bottom: 0.95rem;
}

.footer-brand-copy {
  max-width: 44ch;
  color: #5b5346;
  font-size: 0.96rem;
  line-height: 1.72;
  margin: 0;
}

.site-footer p,
.site-footer a,
.site-footer li,
.site-footer small {
  color: #463d31;
  font-size: 0.93rem;
}

.site-footer a {
  text-decoration: none;
  transition:
    color var(--anim-duration) ease,
    border-color var(--anim-duration) ease;
}

.site-footer a:hover {
  color: var(--primary-dark);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.footer-actions .btn {
  min-width: 0;
  min-height: 42px;
  padding: 0.72rem 1.05rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border-radius: var(--btn-radius);
  border-color: rgba(80, 64, 24, 0.25);
  background: rgba(255, 252, 246, 0.84);
  color: var(--primary-dark);
}

.footer-actions .btn:hover {
  background: #fbf1df;
}

.footer-nav-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.36rem;
}

.footer-nav-block a {
  display: inline-block;
  padding-bottom: 0.06rem;
  border-bottom: 1px solid transparent;
}

.footer-nav-block a:hover {
  border-bottom-color: rgba(80, 64, 24, 0.36);
}

.footer-contact-block {
  display: grid;
  gap: 0.55rem;
}

.footer-contact-block p {
  margin: 0;
  line-height: 1.62;
}

.footer-contact-block strong {
  color: #2f2a1f;
  font-weight: 700;
}

.footer-hours-list {
  list-style: none;
  margin: 0.38rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.24rem;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: baseline;
}

.footer-hours-list li span:first-child {
  color: #2f2a1f;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(123, 91, 46, 0.2);
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-credit {
  margin: 0;
  font-size: 0.86rem;
  color: #5b5346;
}

.site-footer .footer-credit a,
.site-footer .footer-credit a:link,
.site-footer .footer-credit a:visited {
  color: var(--primary);
}

.site-footer .footer-credit a:hover,
.site-footer .footer-credit a:focus-visible {
  color: var(--primary-light);
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 940px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2.6rem 0 1.4rem;
  }

  .site-footer .footer-top {
    gap: 1.4rem;
  }

  .footer-brand-block {
    display: grid;
    gap: 0.82rem;
  }

  .footer-brand-copy {
    line-height: 1.64;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-logo {
    max-width: 132px;
    margin-bottom: 0.45rem;
  }

  .site-footer {
    padding: 2.15rem 0 1.18rem;
  }

  .footer-brand-block {
    gap: 0.72rem;
  }

  .footer-brand-copy {
    max-width: 38ch;
    font-size: 0.89rem;
    line-height: 1.58;
  }

  .footer-actions {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.48rem;
    margin-top: 0.15rem;
  }

  .footer-actions .btn {
    justify-content: center;
    min-height: 42px;
    font-size: 0.83rem;
    padding: 0.66rem 1rem;
  }

  .footer-actions .btn:first-child {
    grid-column: 1 / -1;
    width: min(100%, 248px);
    min-height: 48px;
    font-size: 0.85rem;
    justify-self: start;
  }

  .footer-actions .btn:nth-child(2),
  .footer-actions .btn:nth-child(3) {
    min-height: 0;
    width: auto;
    padding: 0.14rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #4d3f29;
    text-decoration: underline;
    text-underline-offset: 0.16rem;
    text-decoration-thickness: 1px;
    justify-content: flex-start;
  }

  .footer-actions .btn:nth-child(2):hover,
  .footer-actions .btn:nth-child(3):hover {
    background: transparent;
    color: #2f2719;
  }

  .footer-nav-block,
  .footer-contact-block {
    border-top: 1px solid rgba(123, 91, 46, 0.14);
    padding-top: 0.92rem;
  }

  .footer-nav-block ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.9rem;
    row-gap: 0.34rem;
  }

  .footer-nav-block a {
    padding: 0.14rem 0;
  }

  .footer-contact-block {
    gap: 0.5rem;
  }

  .footer-contact-block p {
    line-height: 1.54;
  }

  .footer-hours-list {
    margin-top: 0.26rem;
    gap: 0.28rem;
  }

  .site-footer p,
  .site-footer a,
  .site-footer li,
  .site-footer small {
    font-size: 0.89rem;
  }

  .footer-bottom {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    gap: 0.45rem;
  }

  .footer-credit {
    font-size: 0.82rem;
  }
}

/* Utility: keep footer links accessible and easy to click */
.site-footer a:focus {
  outline: 3px solid rgba(123, 91, 46, 0.26);
  outline-offset: 2px;
}
