/* ==========================================================================
   YD Cleaning Services LLC — footer
   Footer and scroll-reveal animation.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  background: var(--green-950);
  color: rgba(247, 242, 232, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.brand-light .brand-text strong {
  color: var(--cream);
}

.brand-light .brand-text span {
  color: var(--gold-300);
}

.brand-light .brand-mark {
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-brand > p {
  max-width: 36ch;
  margin: 1.2rem 0 1rem;
  color: rgba(247, 242, 232, 0.6);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.7;
}

.footer-phone {
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.footer-col h4 {
  margin: 0 0 1.05rem;
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(247, 242, 232, 0.66);
  font-size: 0.82rem;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-hours-note {
  margin-top: 0.2rem;
  color: rgba(247, 242, 232, 0.42);
  font-size: 0.76rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.4rem;
  border-top: 1px solid rgba(247, 242, 232, 0.1);
  color: rgba(247, 242, 232, 0.42);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}


/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
}

html.js [data-reveal].in-view {
  opacity: 1;
  animation: reveal-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

