/* Footer styles for High Card Kitchen */

.hck-footer {
  margin-top: var(--space-12);
  background: linear-gradient(180deg, rgba(239, 225, 207, 0.98), rgba(219, 197, 170, 0.98));
  border-top: 1px solid rgba(189, 164, 139, 0.7);
  color: var(--color-text-soft);
}

.hck-footer__inner {
  display: grid;
  gap: var(--space-8);
  padding-block: var(--space-8);
}

.hck-footer__brand-block {
  max-width: 28rem;
}

.hck-footer__logo {
  margin-bottom: var(--space-3);
}

.hck-footer__logo-mark {
  position: relative;
}

.hck-footer__logo-plate {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(247, 241, 231, 0.95);
  background: radial-gradient(circle at 30% 20%, #fffdf8 0, #f4e0c5 55%, #b97846 100%);
  box-shadow: 0 0 0 1px rgba(123, 93, 68, 0.55);
}

.hck-footer__logo-cards {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: inline-flex;
  gap: 2px;
}

.hck-footer__logo-card {
  width: 11px;
  height: 13px;
  border-radius: 2px;
  background: #fdf7ef;
  box-shadow: 0 0 0 1px rgba(112, 88, 65, 0.6);
}

.hck-footer__logo-card--one {
  transform: rotate(-18deg) translateY(-1px);
  background: linear-gradient(135deg, #fdf7ef 0, #f0dcc1 100%);
}

.hck-footer__logo-card--two {
  transform: rotate(10deg);
  background: linear-gradient(135deg, #fdf7ef 0, #e7d2b2 100%);
}

.hck-footer__logo-text {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.hck-footer__intro {
  max-width: 24rem;
}

.hck-footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.hck-footer__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hck-footer__column {
  min-width: 0;
}

.hck-footer__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}

.hck-footer__link-list a {
  font-size: var(--font-size-sm);
  color: var(--gray-700);
}

.hck-footer__link-list a:hover {
  color: var(--color-primary);
}

.hck-footer__hours p {
  font-size: var(--font-size-sm);
}

.hck-footer__hours p + p {
  margin-top: 0.4rem;
}

.hck-footer__hours-note {
  margin-top: 0.5rem;
  color: var(--gray-700);
}

.hck-footer__bottom {
  border-top: 1px solid rgba(184, 159, 134, 0.7);
  background: linear-gradient(180deg, rgba(219, 197, 170, 0.98), rgba(198, 168, 139, 0.98));
}

.hck-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
}

.hck-footer__copy {
  font-size: var(--font-size-sm);
}

/* Cookie banner */
.hck-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  padding: var(--space-3) var(--space-2);
  background: radial-gradient(circle at top, rgba(253, 247, 237, 0.98) 0, rgba(239, 225, 207, 0.98) 55%, rgba(210, 184, 153, 0.98) 100%);
  border-top: 1px solid rgba(187, 162, 137, 0.8);
  box-shadow: 0 -8px 26px rgba(26, 17, 11, 0.45);
}

.hck-cookie--visible {
  display: block;
  animation: hck-cookie-slide-up 260ms var(--transition-base) forwards;
}

.hck-cookie--hiding {
  animation: hck-cookie-slide-down 220ms var(--transition-fast) forwards;
}

.hck-cookie__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.hck-cookie__text h2 {
  font-size: var(--font-size-md);
  margin-bottom: 0.2rem;
}

.hck-cookie__text p {
  font-size: var(--font-size-sm);
  margin: 0;
}

.hck-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hck-cookie__btn {
  white-space: nowrap;
}

@keyframes hck-cookie-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes hck-cookie-slide-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Responsive layout */
@media (max-width: 960px) {
  .hck-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hck-footer__inner {
    padding-block: var(--space-6);
  }

  .hck-footer__grid {
    grid-template-columns: 1fr;
  }

  .hck-footer__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hck-footer__cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .hck-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hck-cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hck-cookie__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hck-cookie__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hck-footer__intro {
    max-width: 100%;
  }
}
