/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--charcoal);
  color: var(--text-on-dark-muted);
  padding: 72px 0 0;
}

/* ============================================
   FOOTER GRID
   ============================================ */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-on-dark);
}

/* ============================================
   FOOTER BRAND
   ============================================ */

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
  color: var(--text-on-dark);
}

.footer-brand .brand-text span {
  color: var(--ember-light);
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   FOOTER SOCIAL
   ============================================ */

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--text-on-dark);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--flame);
  border-color: var(--flame);
  transform: translateY(-2px);
}

.footer-social svg {
  display: block;
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */

.footer-col h4 {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  font-weight: 600;

  margin: 0 0 18px;

  letter-spacing: 0.4px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col li {
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--ember-light);
}

/* ============================================
   FOOTER HOURS
   ============================================ */

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px !important;
}

.footer-hours li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 14px;

  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-hours li span:first-child {
  color: var(--text-on-dark);
  font-weight: 500;

  white-space: nowrap;
}

.footer-hours li span:last-child {
  color: var(--text-on-dark-muted);

  text-align: right;
  white-space: nowrap;
}

.footer-hours .closed {
  color: var(--ember-light) !important;
  font-weight: 600;
}

/* ============================================
   FOOTER CONTACT
   ============================================ */

.footer-contact {
  gap: 14px !important;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact svg {
  flex-shrink: 0;

  margin-top: 3px;

  color: var(--ember-light);
}

.footer-contact span {
  display: block;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
  display: flex;
  flex-direction: column;

  gap: 8px;

  align-items: center;
  text-align: center;

  padding: 24px 0 28px;

  font-size: 0.85rem;
  line-height: 1.5;

  color: var(--text-on-dark-muted);
}

/* ============================================
   TABLET
   ============================================ */

@media (min-width: 640px) {

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
  }

  .footer-hours li {
    justify-content: flex-start;
    gap: 10px;
  }

  .footer-hours li span:last-child {
    text-align: left;
  }
}

/* ============================================
   DESKTOP
   ============================================ */

@media (min-width: 900px) {

  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    text-align: left;
  }

  .footer-hours li {
    justify-content: space-between;
    gap: 12px;
  }

  .footer-hours li span:last-child {
    text-align: right;
  }
}

/* ============================================
   LARGE DESKTOP
   ============================================ */

@media (min-width: 1200px) {

  .site-footer {
    padding-top: 80px;
  }

  .footer-grid {
    gap: 50px;
  }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 639px) {

  .site-footer {
    padding-top: 55px;
  }

  .footer-grid {
    gap: 34px;
    padding-bottom: 38px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-brand p {
    font-size: 0.9rem;
  }

  .footer-col h4 {
    margin-bottom: 14px;
  }

  .footer-hours {
    gap: 9px !important;
  }

  .footer-hours li {
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
  }

  .footer-hours li span:first-child {
    flex-shrink: 0;
  }

  .footer-hours li span:last-child {
    text-align: right;
  }

  .footer-contact li {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 20px 0 24px;
    font-size: 0.78rem;
  }
}

/* ============================================
   SMALL MOBILE
   ============================================ */

@media (max-width: 400px) {

  .footer-hours li {
    font-size: 0.78rem;
    gap: 7px;
  }

  .footer-contact li {
    font-size: 0.85rem;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}