/**
 * Footer — premium grid, social, sub-bar.
 */

.site-footer {
  --footer-bg: #0c0c0c;
  --footer-muted: rgba(255, 255, 255, 0.58);
  --footer-line: rgba(255, 255, 255, 0.1);

  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
  position: relative;
  overflow: clip;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 80% at 10% 0%,
    rgba(201, 169, 98, 0.07),
    transparent 55%
  );
  opacity: 0.9;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.25rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3rem);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns:
      minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.85fr)
      minmax(0, 1fr);
    gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .footer-col {
    animation: footerColFade 0.75s ease backwards;
  }

  .footer-col:nth-child(1) {
    animation-delay: 0.05s;
  }

  .footer-col:nth-child(2) {
    animation-delay: 0.12s;
  }

  .footer-col:nth-child(3) {
    animation-delay: 0.19s;
  }

  .footer-col:nth-child(4) {
    animation-delay: 0.26s;
  }
}

@keyframes footerColFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand column */
.footer-brand__name {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--leela-white, #fff);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.footer-brand__name-accent {
  color: var(--leela-gold, #c9a962);
}

.footer-brand__tagline {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--footer-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.footer-brand__text,
.footer-col > p:not(.footer-brand__name):not(.footer-brand__tagline) {
  color: var(--footer-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

.footer-brand__logo img {
  max-height: 52px;
  width: auto;
}

.footer-widget-title {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leela-white, #fff);
  margin: 0 0 1.15rem;
}

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

.footer-list li {
  margin-bottom: 0.6rem;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list--links a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9375rem;
  padding-block: 0.1rem;
  transition: color 0.25s ease;
}

.footer-list--links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--leela-gold, #c9a962);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  opacity: 0.85;
}

.footer-list--links a:hover {
  color: var(--leela-gold, #c9a962);
}

.footer-list--links a:hover::after {
  transform: scaleX(1);
}

/* Contact column */
.footer-eyebrow {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer-eyebrow--spaced {
  margin-top: 1.35rem;
}

.footer-phone-primary {
  margin: 0.5rem 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-phone-primary a {
  color: var(--leela-white, #fff);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-phone-primary a:hover {
  color: var(--leela-gold, #c9a962);
}

.footer-phone-secondary {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

.footer-phone-secondary a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-phone-secondary a:hover {
  color: var(--leela-gold, #c9a962);
}

.footer-contact-line {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: var(--footer-muted);
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.footer-contact-line a:hover {
  color: var(--leela-gold, #c9a962);
  border-bottom-color: rgba(201, 169, 98, 0.45);
}

.footer-contact-line--multiline,
.footer-contact-line--hours {
  line-height: 1.55;
  max-width: 28rem;
}

/* Social */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.25rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--footer-line);
  text-decoration: none;
  transition:
    color 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.footer-social__link:hover {
  color: var(--leela-gold, #c9a962);
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.08);
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.footer-social__icon {
  display: block;
}

/* Sub-footer */
.footer-sub {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--footer-line);
  padding-block: 1.35rem 1.75rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-sub__inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-sub__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-sub__copy,
.footer-sub__credit {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
}

.footer-sub__copy a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-sub__copy a:hover {
  color: var(--leela-gold, #c9a962);
}

.footer-sub__credit-link {
  margin-left: 0.25em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-sub__credit-link:hover {
  color: var(--leela-gold, #c9a962);
  border-bottom-color: rgba(201, 169, 98, 0.55);
}

/* Widgets inside columns */
.site-footer .footer-widget {
  margin-bottom: 0;
}

.site-footer .footer-widget + .footer-widget {
  margin-top: 1.5rem;
}

.site-footer .footer-widget a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-widget a:hover {
  color: var(--leela-gold, #c9a962);
}

/* Legacy contact list (widgets / older markup) */
.footer-contact .footer-contact__label {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-contact .footer-contact__label:first-child {
  margin-top: 0;
}

.footer-contact__address {
  display: block;
  color: var(--footer-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
