.sf-footer {
  --sf-gold: #c5a35d;
  --sf-gold-pale: #eadbb7;
  --sf-cream: #eee6d8;
  --sf-ink: #f7f2e9;
  --sf-muted: rgba(247, 242, 233, 0.72);
  --sf-line: rgba(255, 255, 255, 0.15);
  --sf-dark: #10130f;
  position: relative;
  isolation: isolate;
  color: var(--sf-ink);
  background: var(--sf-dark);
}

.sf-footer,
.sf-footer * {
  box-sizing: border-box;
}

.sf-footer a {
  color: inherit;
  text-decoration: none;
}

.sf-invitation {
  position: relative;
  overflow: hidden;
  color: #1c241b;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.28), transparent 45%),
    #e8dfcf;
}

.sf-invitation::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(-9rem, -4vw, -3rem);
  width: clamp(15rem, 30vw, 29rem);
  aspect-ratio: 1;
  border: 1px solid rgba(98, 79, 42, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(2.3rem, 4vw, 4.8rem) rgba(98, 79, 42, 0.05),
    0 0 0 clamp(4.7rem, 8vw, 9.5rem) rgba(98, 79, 42, 0.035);
  transform: translateY(-50%);
  pointer-events: none;
}

.sf-invitation-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding-top: clamp(3.5rem, 7vw, 6.4rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.4rem);
}

.sf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  color: #765f2e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sf-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.sf-invitation h2 {
  max-width: 12ch;
  margin: 0;
  color: #1b211a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5.1vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.sf-invitation h2 em {
  display: block;
  margin-top: 0.12em;
  color: #876b32;
  font-weight: 400;
}

.sf-invitation-action {
  padding-bottom: 0.3rem;
}

.sf-invitation-action > p {
  max-width: 31rem;
  margin: 0 0 1.55rem;
  color: rgba(27, 33, 26, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

.sf-invitation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
}

.sf-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sf-button-primary {
  padding: 0.85rem 1.35rem;
  border: 1px solid #1e271d;
  color: #fff !important;
  background: #1e271d;
}

.sf-button-primary:hover {
  border-color: #8b6f37;
  background: #8b6f37;
  transform: translateY(-2px);
}

.sf-button-link {
  padding: 0.8rem 0.2rem;
  color: #2a3428 !important;
}

.sf-button-link:hover {
  color: #80652f !important;
}

.sf-main {
  position: relative;
  overflow: hidden;
  background: #10130f url("../images/footer-bg.68636f91b6f9.jpg") center 48% / cover no-repeat;
}

.sf-main-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 12, 0.98) 0%, rgba(12, 16, 12, 0.91) 50%, rgba(12, 16, 12, 0.82) 100%),
    linear-gradient(180deg, rgba(13, 17, 13, 0.78), rgba(13, 17, 13, 0.96));
  pointer-events: none;
}

.sf-main-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(3.6rem, 7vw, 6.2rem);
  padding-bottom: 1.5rem;
}

.sf-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 1.35fr) minmax(9rem, 0.62fr) minmax(9rem, 0.68fr) minmax(15rem, 1fr);
  gap: clamp(2rem, 4vw, 4.7rem);
  align-items: start;
}

.sf-logo {
  display: inline-flex;
  margin: -1.35rem 0 0.7rem -0.6rem;
}

.sf-logo img {
  width: 8.6rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.sf-brand > p {
  max-width: 28rem;
  margin: 0;
  color: var(--sf-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.sf-scripture {
  position: relative;
  max-width: 25rem;
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem 0.8rem 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-left: 2px solid rgba(197, 163, 93, 0.88);
  border-radius: 0 0.85rem 0.85rem 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
}

.sf-scripture p {
  margin: 0;
  color: rgba(232, 227, 218, 0.9);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.42;
}

.sf-scripture bdi {
  display: inline-block;
  margin-inline: 0.08em;
  color: inherit;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sf-scripture cite {
  display: block;
  margin-top: 0.38rem;
  color: var(--sf-gold);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sf-nav h3,
.sf-contact h3 {
  position: relative;
  margin: 0 0 1.4rem;
  padding-bottom: 0.85rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sf-nav h3::after,
.sf-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.7rem;
  height: 1px;
  background: var(--sf-gold);
}

.sf-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-nav li + li {
  margin-top: 0.78rem;
}

.sf-nav a {
  display: inline-flex;
  color: var(--sf-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  transition: color 160ms ease, transform 160ms ease;
}

.sf-nav a:hover {
  color: var(--sf-gold-pale);
  transform: translateX(3px);
}

.sf-contact-intro {
  margin: -0.2rem 0 1.2rem;
  color: var(--sf-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.sf-contact address {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  font-style: normal;
}

.sf-contact address a {
  display: grid;
  grid-template-columns: 1.05rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--sf-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  transition: color 160ms ease;
}

.sf-contact address i {
  padding-top: 0.12rem;
  color: var(--sf-gold);
}

.sf-contact address a:hover {
  color: #fff;
}

.sf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.sf-social a {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(234, 219, 183, 0.32);
  border-radius: 50%;
  color: var(--sf-gold-pale);
  font-size: 0.92rem;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sf-social a:hover {
  border-color: var(--sf-gold);
  color: #171b15;
  background: var(--sf-gold-pale);
  transform: translateY(-2px);
}

.sf-trust {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(3rem, 6vw, 5.4rem);
  padding: 1.15rem 0;
  border-top: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
}

.sf-trust > p {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0;
  color: var(--sf-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.sf-trust > p i {
  color: var(--sf-gold);
  font-size: 1.05rem;
}

.sf-trust > p strong {
  color: #fff;
  font-weight: 700;
}

.sf-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.sf-payments > span {
  margin-right: 0.35rem;
  color: rgba(247, 242, 233, 0.6);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sf-payments img {
  width: 2.65rem;
  height: 1.58rem;
  padding: 0.18rem 0.24rem;
  border-radius: 0.25rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
}

.sf-bottom {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.35rem;
  color: rgba(247, 242, 233, 0.58);
  font-size: 0.75rem;
}

.sf-bottom p {
  margin: 0;
}

.sf-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.sf-bottom a {
  transition: color 160ms ease;
}

.sf-bottom a:hover {
  color: var(--sf-gold-pale);
}

.sf-footer a:focus-visible {
  outline: 2px solid var(--sf-gold-pale);
  outline-offset: 4px;
}

@media (max-width: 991.98px) {
  .sf-invitation-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    align-items: start;
  }

  .sf-invitation h2 {
    max-width: 13ch;
  }

  .sf-invitation-action > p {
    max-width: 36rem;
  }

  .sf-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(8rem, 0.7fr));
  }

  .sf-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 1.5rem;
    align-items: start;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sf-line);
  }

  .sf-contact h3 {
    margin-bottom: 0;
  }

  .sf-contact-intro {
    display: none;
  }

  .sf-social {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .sf-invitation::after {
    opacity: 0.6;
  }

  .sf-invitation h2 {
    font-size: clamp(2.35rem, 11vw, 4rem);
    line-height: 1.02;
  }

  .sf-invitation-action > p {
    font-size: 0.94rem;
  }

  .sf-main-inner {
    padding-top: 3.7rem;
  }

  .sf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.7rem 1.5rem;
  }

  .sf-brand,
  .sf-contact {
    grid-column: 1 / -1;
  }

  .sf-brand {
    padding-bottom: 0.2rem;
  }

  .sf-contact {
    display: block;
    padding-top: 2.25rem;
  }

  .sf-contact h3 {
    margin-bottom: 1.4rem;
  }

  .sf-contact-intro {
    display: block;
  }

  .sf-social {
    margin-top: 1.4rem;
  }

  .sf-trust,
  .sf-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .sf-payments {
    justify-content: flex-start;
  }
}

@media (max-width: 479.98px) {
  .sf-invitation-inner {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .sf-invitation-buttons,
  .sf-button-primary {
    width: 100%;
  }

  .sf-button-link {
    min-height: auto;
    padding: 0.5rem 0.15rem;
  }

  .sf-grid {
    grid-template-columns: 1fr;
  }

  .sf-brand,
  .sf-contact {
    grid-column: auto;
  }

  .sf-nav + .sf-nav {
    padding-top: 0.2rem;
  }

  .sf-payments > span {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .sf-bottom {
    padding-bottom: 4.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-footer a,
  .sf-footer .sf-button {
    transition: none;
  }
}
