/* Footer — Estelia */
.est-footer{
  --est-footer-bg: #000000;
  --est-footer-ink: #FFFFFF;
  --est-footer-muted: rgba(255,255,255,.66);
  --est-footer-line: rgba(255,255,255,.14);
  --est-footer-pad: clamp(1.25rem, 5vw, 4rem);
  --est-footer-ease: cubic-bezier(.22,1,.36,1);

  background: var(--est-footer-bg);
  color: var(--est-footer-ink);
  font-family: var(--est-font-body, "DM Sans", system-ui, sans-serif);
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-left: var(--est-footer-pad);
  padding-right: var(--est-footer-pad);
}

/* Top area */
.est-footer .est-footer__inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3rem);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.est-footer .est-footer__logo img{
  filter: invert(1) brightness(2);
}
/* Brand */
.est-footer .est-footer__logo{
  display: inline-block;
  font-family: var(--est-font-display, "Instrument Serif", Georgia, serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--est-footer-ink);
  text-decoration: none;
}

.est-footer .est-footer__logo img{
  display: block;
  height: auto;
  max-width: 160px;
}

.est-footer .est-footer__tagline{
  margin: .9rem 0 0;
  max-width: 24ch !important;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--est-footer-muted);
}

/* Column titles */
.est-footer .est-footer__title{
  margin: 0 0 1rem;
  font-family: var(--est-font-body, "DM Sans", system-ui, sans-serif);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--est-footer-ink);
}

/* Lists */
.est-footer .est-footer__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.est-footer .est-footer__link{
  display: inline-block;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--est-footer-muted);
  text-decoration: none;
  transition: color 300ms var(--est-footer-ease);
}

.est-footer .est-footer__link:hover,
.est-footer .est-footer__link:focus-visible{
  color: var(--est-footer-ink);
}

/* Social */
.est-footer .est-footer__social{
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.est-footer .est-footer__social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--est-footer-ink);
  border: 1px solid var(--est-footer-line);
  border-radius: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 300ms var(--est-footer-ease);
}

.est-footer .est-footer__social-link:hover,
.est-footer .est-footer__social-link:focus-visible{
  background-color: var(--est-footer-ink);
  color: var(--est-footer-bg);
}

/* Bottom row */
.est-footer .est-footer__bottom{
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--est-footer-line);
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  text-align: center;
}

.est-footer .est-footer__copy{
  margin: 0;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--est-footer-muted);
}

.est-footer .est-footer__pay{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.est-footer .est-footer__pay-item{
  display: inline-flex;
  margin: 0;
}

.est-footer .est-footer__pay-item svg{
  display: block;
  width: 44px;
  height: auto;
}

/* Tablet */
@media (min-width: 48em){
  .est-footer .est-footer__inner{
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
  .est-footer .est-footer__pay-item svg{ width: 48px; }
}

/* Desktop */
@media (min-width: 75em){
  .est-footer .est-footer__inner{
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  .est-footer .est-footer__link,
  .est-footer .est-footer__social-link{ transition: none; }
}