/* Footer premium compartido (#footer.af-footer) — única fuente para home, empty legs, info, pillar, PDE, etc. */
#footer.af-footer {
  --af-foot-bg-top: #161f2c;
  --af-foot-bg: #121a26;
  --af-foot-bg-deep: #0e141c;
  --af-foot-cream: rgb(233 225 214);
  --af-foot-champagne: rgb(196 165 116);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background-color: var(--af-foot-bg-deep);
  background-image: linear-gradient(
    180deg,
    var(--af-foot-bg-top) 0%,
    var(--af-foot-bg) 38%,
    var(--af-foot-bg-deep) 100%
  );
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  border-top: none;
}

#footer.af-footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgb(233 225 214 / 85%) 18%, rgb(231 223 209 / 85%) 82%, transparent 100%);
}

#footer.af-footer .af-footer-in {
  width: min(1280px, 94vw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 80px) clamp(24px, 4vw, 48px) clamp(28px, 4vw, 40px);
  box-sizing: border-box;
}

#footer.af-footer .af-footer-brand-block {
  margin: 0 0 clamp(32px, 4vw, 44px);
  padding: 0 0 clamp(28px, 4vw, 36px);
  max-width: 100%;
  border-bottom: 1px solid rgb(196 165 116 / 0.14);
}

#footer.af-footer .af-footer-brand-block .af-footer-logo {
  margin-bottom: 0;
}

#footer.af-footer .af-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(36px, 5vw, 72px);
  row-gap: clamp(32px, 4vw, 40px);
  align-items: stretch;
}

#footer.af-footer .af-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

#footer.af-footer .af-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 20px);
  margin: 0;
  color: #fff;
  text-decoration: none !important;
}

#footer.af-footer .af-footer-logo:hover {
  color: rgb(232 212 176);
}

#footer.af-footer .af-footer-logo img {
  display: block;
  width: clamp(52px, 6vw, 60px);
  height: clamp(52px, 6vw, 60px);
  margin: 0;
  object-fit: contain;
}

#footer.af-footer .af-footer-logo-text {
  font-family: 'Jost', 'Segoe UI', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.15;
  text-transform: uppercase;
}

#footer.af-footer .af-footer-intro {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.64);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
}

#footer.af-footer .af-footer-col .af-footer-intro {
  max-width: 36ch;
}

#footer.af-footer .af-footer-lead,
#footer.af-footer .af-footer-address {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.64);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

#footer.af-footer .af-footer-title {
  margin: 0;
  padding-bottom: 0;
  color: #fff;
  font-family: 'Jost', 'Segoe UI', sans-serif;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: none;
  background: none;
}

#footer.af-footer .af-footer-title::before,
#footer.af-footer .af-footer-title::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

#footer.af-footer .af-footer-rule {
  display: block !important;
  visibility: visible !important;
  box-sizing: border-box;
  width: 40px !important;
  max-width: 40px !important;
  height: 2px !important;
  min-height: 2px !important;
  max-height: 2px !important;
  margin: 10px 0 clamp(14px, 2vw, 18px) !important;
  padding: 0 !important;
  border: 0 !important;
  background-color: rgba(196, 165, 116, 0.85) !important;
  background-image: none !important;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  flex: none;
}

#footer.af-footer .af-footer-list,
#footer.af-footer ul.af-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  align-self: start;
}

#footer.af-footer .af-footer-list li {
  margin: 0 0 12px;
  min-height: 0;
  padding: 0;
}

#footer.af-footer .af-footer-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: 'Jost', 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

#footer.af-footer .af-footer-link:hover,
#footer.af-footer .af-footer-link:focus {
  color: #fff !important;
}

#footer.af-footer .af-footer-link.hover-blue:hover,
#footer.af-footer .af-footer-link.hover-blue:focus {
  color: #fff !important;
}

#footer.af-footer .af-footer-link .af-footer-meta {
  display: block;
  margin-bottom: 2px;
  color: rgb(196 165 116 / 0.88);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#footer.af-footer .af-footer-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: rgb(196 165 116 / 0.92);
}

#footer.af-footer .af-footer-link:hover .af-footer-icon,
#footer.af-footer .af-footer-link:focus .af-footer-icon {
  color: rgb(232 212 176);
}

#footer.af-footer .af-footer-social {
  width: 100%;
  margin-top: auto;
  padding-top: clamp(18px, 2.5vw, 24px);
  border-top: 1px solid rgb(196 165 116 / 0.1);
}

#footer.af-footer .af-footer-social-label {
  display: block;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.52);
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

#footer.af-footer .af-footer-social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#footer.af-footer .af-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(233 225 214 / 0.22);
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#footer.af-footer .af-footer-social-btn:hover,
#footer.af-footer .af-footer-social-btn:focus {
  border-color: rgb(196 165 116 / 0.75);
  background: rgb(255 255 255 / 0.05);
}

#footer.af-footer .af-footer-icon--social {
  width: 20px;
  height: 20px;
  margin: 0;
  color: #fff;
}

#footer.af-footer .af-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid rgb(196 165 116 / 0.12);
}

#footer.af-footer .af-footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

#footer.af-footer .af-footer-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

#footer.af-footer .af-footer-mini a {
  color: rgba(255, 255, 255, 0.58) !important;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none !important;
  text-transform: uppercase;
}

#footer.af-footer .af-footer-mini a:hover,
#footer.af-footer .af-footer-mini a:focus {
  color: rgb(196 165 116 / 0.92) !important;
}

#footer.af-footer .foot-separator,
#footer.af-footer .footer-col,
#footer.af-footer .footer-col-2,
#footer.af-footer .title-footer,
#footer.af-footer .social img,
#footer.af-footer #foot-col-1 img,
#footer.af-footer #foot-col-2 img {
  display: none;
}

@media screen and (max-width: 900px) {
  #footer.af-footer .af-footer-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 36px;
  }

  #footer.af-footer .af-footer-title {
    margin-bottom: 0;
  }

  #footer.af-footer .af-footer-rule {
    margin-top: 12px !important;
    margin-bottom: clamp(16px, 2.5vw, 20px) !important;
  }

  #footer.af-footer .af-footer-col {
    display: block;
    grid-row: auto;
  }

  #footer.af-footer ul {
    padding-bottom: 0;
  }

  #footer.af-footer .af-footer-social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-top: clamp(24px, 4vw, 32px);
    margin-bottom: 0;
    padding: clamp(26px, 5.5vw, 34px) 0;
  }

  #footer.af-footer .af-footer-col-spacer {
    display: none;
  }

  #footer.af-footer .af-footer-in {
    padding-bottom: clamp(80px, 20vw, 104px);
  }

  #footer.af-footer .af-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 0;
    padding-top: clamp(26px, 5.5vw, 34px);
  }

  #footer.af-footer .af-footer-mini {
    order: 1;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    padding-right: clamp(60px, 15vw, 76px);
    border-top: none;
    box-sizing: border-box;
  }

  #footer.af-footer .af-footer-copy {
    order: 2;
    width: 100%;
    max-width: none;
    margin-top: clamp(20px, 4.5vw, 28px);
    padding-top: clamp(20px, 4.5vw, 28px);
    border-top: 1px solid rgb(196 165 116 / 0.12);
  }
}
