/* Las invitaciones ocupan todo el ancho. El pie conserva su fondo blanco. */
#pie, #pie :where(*) {
  all: revert;
  box-sizing: border-box;
}
#pie {
  padding-block: 32px;
  background: white;
  color: #173a3d;
  font: 17px/1.6 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.about-invitation { background: var(--wash); }
.about-invitation > .invitation { border-top: 0; }
.contact-band {
  background: var(--brand-deep);
  color: white;
}
.contact-band > .invitation { border-top: 0; }
.contact-band h2 { color: inherit; }
.contact-band p { color: var(--on-brand-muted); }
.contact-band .button:focus-visible { outline-color: white; }
.privacy-page #pie { border-top: 1px solid var(--line); }
#pie .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
#pie a { color: inherit; text-underline-offset: 5px; touch-action: manipulation; }
#pie a:focus-visible { outline: 3px solid #007d83; outline-offset: 5px; }
#pie .brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
#pie .brand img { width: 32px; height: 30px; max-width: 100%; vertical-align: middle; }
#pie .brand strong {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: .035em;
}
#pie .brand small { display: block; font-size: 10px; letter-spacing: .025em; line-height: 1.7; color: #526c6f; }
#pie .footer-inner > div { display: flex; gap: 25px; font-size: 12px; color: #526c6f; }

@media (max-width: 1100px) {
  #pie .footer-inner { width: calc(100% - 64px); }
}
@media (max-width: 899px) {
  #pie .footer-inner { align-items: flex-start; width: calc(100% - 48px); }
  #pie .brand small { max-width: 170px; }
  #pie .footer-inner > div { gap: 16px; font-size: 11px; }
}
@media (max-width: 600px) {
  #pie { padding-block: 27px; font-size: 16px; }
  #pie .footer-inner { flex-direction: column; gap: 22px; width: calc(100% - 40px); }
  #pie .brand img { width: 34px; height: auto; }
  #pie .brand small { max-width: none; font-size: 9px; }
  #pie .footer-inner > div { width: 100%; justify-content: space-between; }
}
@media print {
  #pie, .contact-band { display: none; }
}
