/* ==========================================================================
   05-footer.css — three-column site footer
   ========================================================================== */

.site-footer {
  background-color: var(--c-black);
  padding-block: 69px 68px;
  color: var(--c-body);
}

/* Live column tracks measured at 1440px: content starts at 112 / 621 / 930
   within a 1200px row — 509 + 309 + 382, with trailing padding rather than
   an even gap. */
.site-footer__inner {
  display: grid;
  grid-template-columns: 509fr 309fr 382fr;
}

.site-footer__col:nth-child(1) { padding-right: 99px; }
.site-footer__col:nth-child(2) { padding-right: 27px; }

.site-footer h5 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 35px;
  color: var(--c-white);
  margin-bottom: 11px;
  letter-spacing: 0.3px;
}

.site-footer .site-footer__brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 24px;
  color: var(--c-white);
  margin-bottom: 26px;
}

.site-footer .site-footer__tagline {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 36px;
  color: var(--c-body);
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 0;
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 32px;
  color: var(--c-body);
}

.site-footer a {
  color: var(--c-body);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--c-gold);
}

/* Social icon row */

.social {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 35px;
  color: var(--c-gold);
}

.social a:hover,
.social a:focus-visible {
  color: var(--c-white);
}

.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Legal links */

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-left: 15px;      /* live indents the legal links 15px */
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 34px;
}

.site-footer__legal a {
  padding-inline: 18px 19px;
}

/* Operating hours table */

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 32px;
  color: var(--c-body);
}

@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: one left-aligned column; live keeps the hours row side by side */
@media (max-width: 767px) {
  .site-footer {
    padding-block: 63px 41px;
    text-align: left;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__col:nth-child(1),
  .site-footer__col:nth-child(2) {
    padding-right: 0;
  }

  .site-footer .site-footer__brand {
    font-size: 19px;
    line-height: 24px;
    margin-bottom: 27px;
  }

  .site-footer .site-footer__tagline {
    line-height: 32px;
    margin-bottom: 14px;
  }

  .site-footer h5 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
  }

  .site-footer__col:nth-child(2) { margin-top: 76px; }
  .site-footer__col:nth-child(3) { margin-top: 51px; }

  .hours__row {
    justify-content: flex-start;
    gap: 0;
  }

  .hours__row span:last-child {
    margin-left: 148px;
  }
}
