/* Cierre Vilma: la página se desliza y revela la capa de abajo. */
.has-close-reveal {
  background: var(--close-bg, #1F3B2E);
}
.has-close-reveal .page-top {
  position: relative;
  z-index: 2;
  background: #F4EFE6;
}
.end-space {
  height: 100vh;
  height: 100svh;
  pointer-events: none;
}
.page-close {
  position: fixed;
  inset: 0;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--close-bg, #1F3B2E);
  color: #F4EFE6;
  padding: 0;
  text-align: center;
  overflow: hidden;
}
.page-close .close-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-close .close-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(.58) contrast(1.08) brightness(.78) sepia(.1);
}
.page-close .close-bg .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,36,24,.22) 0%, rgba(16,36,24,.52) 42%, rgba(8,12,10,.82) 100%);
}
.page-close .close {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: none;
}
.page-close .close h2 {
  margin: 0 auto;
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #F4EFE6;
  font-style: normal;
}
.page-close .close h2 em {
  font-family: inherit;
  font-style: italic;
  font-weight: 400;
  color: #F4EFE6;
}
.page-close .end-band,
.page-close .end-foot {
  text-align: left;
}
.page-close .close p {
  margin: 20px auto 0;
  max-width: 24em;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,239,230,.84);
}
.page-close .close-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.page-close .btn-close,
.page-close .btn-close-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  transition: transform .22s ease;
}
.page-close .btn-close {
  background: #F4EFE6;
  color: var(--close-bg, #1F3B2E);
}
.page-close .btn-close-ghost {
  border: 1px solid rgba(244,239,230,.4);
  color: #F4EFE6;
}
.page-close .btn-close:hover,
.page-close .btn-close-ghost:hover {
  transform: scale(1.08);
}
.page-close .end-band {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: #1F3B2E !important;
  background-color: #1F3B2E !important;
  border-top: 1px solid rgba(244,239,230,.22);
}
@media (max-width: 900px) {
  .page-close .close {
    width: calc(100% - 32px);
    padding: 0;
  }
}
@media (max-height: 740px) {
  .page-close .close {
    padding: 0;
    justify-content: center;
  }
  .page-close .close-ctas {
    margin-top: 16px;
  }
  .page-close {
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-close .btn-close,
  .page-close .btn-close-ghost {
    transition: none;
  }
  .page-close .btn-close:hover,
  .page-close .btn-close-ghost:hover {
    transform: none;
  }
}
