.site-footer {
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 800ms;
  --stagger: 80ms;
  --hand: "Caveat", "Patrick Hand", cursive;
  color: #fff;
  background: radial-gradient(
    120% 140% at 80% -20%,
    color-mix(in srgb, var(--color-main) 24%, #000) 0%,
    #0e0e0e 48%
  );
  padding-top: 36px;
}

.footer__grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px 16px 28px;
}

.footer__brand {
  display: grid;
  gap: 8px;
}
.footer__logo {
  margin: 0;
  font-family: var(--headline-expanded);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: clamp(28px, 6vw, 42px);
}
.footer__tag {
  margin: 0;
  font-family: var(--burger-description-font);
  opacity: 0.9;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.so {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 160ms var(--ease), background 160ms var(--ease),
    border-color 160ms var(--ease);
}
.so:hover {
  background: var(--color-main);
  border-color: transparent;
  transform: translateY(-1px);
}
.so svg {
  fill: #fff;
}

.footer__heading {
  margin: 0 0 8px;
  font-family: var(--hand);
  font-size: clamp(18px, 4vw, 24px);
  letter-spacing: 0.02em;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer__nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 160ms var(--ease);
}
.footer__nav a:hover {
  opacity: 1;
}

.footer__locations {
  display: grid;
  gap: 10px;
}
.loc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.loc-card {
  display: grid;
  gap: 8px;
  background: #141414;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px;
}
.loc-city {
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(18px, 4vw, 22px);
}
.addr {
  margin: 0;
  opacity: 0.9;
}
.hours {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 6px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hours span {
  font-family: var(--hand);
}
.hours b {
  font-family: var(--ui);
  font-weight: 600;
}
.loc-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 2px;
}
.link:hover {
  border-bottom-color: #fff;
}

.footer__newsletter .news__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0;
}
.footer__news input[type="email"] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0f0f0f;
  color: #fff;
  padding: 12px 14px;
  outline: none;
}
.footer__news input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.footer__news .btn {
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 12px 18px;
  font-family: var(--headline-expanded);
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease),
    color 160ms var(--ease);
}
.footer__news .btn:hover {
  background: var(--color-main);
  color: #fff;
  transform: translateY(-1px);
}
.news__hint {
  margin: 6px 0 0;
  font-size: 12px;
  opacity: 0.7;
}
.news__status {
  min-height: 1.2em;
  font-size: 13px;
  margin-top: 6px;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 14px 16px 20px;
  color: rgba(255, 255, 255, 0.85);
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__legal a {
  color: inherit;
  text-decoration: none;
}
.footer__legal a:hover {
  text-decoration: underline;
}

.site-footer.animate-in .footer__brand,
.site-footer.animate-in .footer__nav,
.site-footer.animate-in .footer__locations,
.site-footer.animate-in .footer__newsletter {
  animation: fIn var(--dur) var(--ease) both;
}
.site-footer.animate-in .footer__nav {
  animation-delay: calc(var(--stagger) * 1);
}
.site-footer.animate-in .footer__locations {
  animation-delay: calc(var(--stagger) * 2);
}
.site-footer.animate-in .footer__newsletter {
  animation-delay: calc(var(--stagger) * 3);
}

@keyframes fIn {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .loc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer.animate-in .footer__brand,
  .site-footer.animate-in .footer__nav,
  .site-footer.animate-in .footer__locations,
  .site-footer.animate-in .footer__newsletter {
    animation: none !important;
  }
}

.site-footer {
  --footer-curve-fill: var(--color-grey-tint);
  --curve-h: clamp(10px, 1vw, 100px);
  position: relative;
}

.footer__curve {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: var(--curve-h);
  line-height: 0;
  pointer-events: none;
  background: none;
  margin: 0;
}

.footer__curve svg {
  display: block;
  width: 100%;
  height: calc(var(--curve-h) + 2px); 
}

.footer__curve path {
  fill: var(--footer-curve-fill);
}