/* Nirvana — Mis Quince. Plain HTML/CSS/JS build (no framework). */

@font-face {
  font-family: "NirvanaDisplay";
  src: url("../sites/yarelmishop-com-13afa448/andrea-mis-quince-b78f7830/fonts/15d1a05f909a955cba660a2bd4105816.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "NirvanaElegant";
  src: url("../sites/yarelmishop-com-13afa448/andrea-mis-quince-b78f7830/fonts/655397442723d12475be6bdb1a9ce31c.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "NirvanaElegant";
  src: url("../sites/yarelmishop-com-13afa448/andrea-mis-quince-b78f7830/fonts/b95aa1fdcb09e09615227815961b914b.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  --gold: #f8d3a4;
  --gold-light: #ffe9c7;
  --navy: #0a1330;
  --navy-deep: #010409;
  --font-heading: "NirvanaDisplay", "Great Vibes", cursive;
  --font-elegant: "NirvanaElegant", Georgia, serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-elegant);
  background: var(--navy-deep);
  color: #fff;
  overflow-x: hidden;
}
body.scroll-locked {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- helpers ---------- */
.section {
  position: relative;
  width: 100%;
  text-align: center;
}
.fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* pill button (gold border, navy gradient fill) */
.pill-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: none;
  background: none;
  padding: 0;
  text-decoration: none;
  transition: transform 0.3s;
}
.pill-btn:hover {
  transform: scale(1.02);
}
.pill-btn:active {
  transform: scale(0.95);
}
.pill-btn__bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(248, 211, 164, 0.7);
  background: linear-gradient(to bottom, rgba(10, 19, 48, 0.9), var(--navy-deep));
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s;
}
.pill-btn:hover .pill-btn__bg {
  box-shadow: 0 0 35px rgba(248, 211, 164, 0.5);
}
.pill-btn__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}
.pill-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- fireflies ---------- */
.fireflies {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.firefly {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle, #ffe9a8 0%, rgba(255, 214, 128, 0) 70%);
  animation: firefly-drift var(--fd, 4s) ease-in-out infinite;
}
@keyframes firefly-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--fx, 10px), var(--fy, -18px)) scale(1.3);
    opacity: 0.2;
  }
}

/* ---------- envelope intro ---------- */
#envelope-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
#envelope-intro .overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
#envelope-intro .intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
}
#envelope-btn {
  position: relative;
  width: 288px;
  height: 192px;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.5s ease-out;
}
#envelope-btn img {
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  width: 100%;
  height: 100%;
}
#envelope-btn:hover {
  transform: scale(1.05);
}
#envelope-btn.opening {
  transform: scale(1.1);
  opacity: 0;
  pointer-events: none;
}
.intro-label {
  margin-bottom: 24px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
}
.intro-name {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--gold-light);
}
.intro-sub {
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
#ticket-step {
  display: none;
  position: relative;
  z-index: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}
#ticket-step.visible {
  display: flex;
}
#envelope-intro.hidden {
  display: none;
}

/* ---------- invitation ticket ---------- */
.ticket {
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: 384px;
  overflow: hidden;
  border-radius: 16px;
  background: #fdf8ee;
  color: #1c1740;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.ticket__main {
  flex: 1;
  padding: 24px;
  text-align: left;
}
.ticket__eyebrow {
  font-family: var(--font-elegant);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ab8b58;
}
.ticket__name {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  color: #1c1740;
}
.ticket__block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(171, 139, 88, 0.4);
}
.ticket__label {
  font-family: var(--font-elegant);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ab8b58;
}
.ticket__guest {
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1.1rem;
}
.ticket__meta {
  margin-top: 4px;
  font-family: var(--font-elegant);
  font-size: 0.85rem;
  color: rgba(61, 54, 44, 0.7);
}
.ticket__events {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(171, 139, 88, 0.4);
  font-family: var(--font-elegant);
  font-size: 0.85rem;
  color: rgba(61, 54, 44, 0.8);
}
.ticket__events p {
  margin: 2px 0;
}
.ticket__stub {
  position: relative;
  display: flex;
  width: 80px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed rgba(171, 139, 88, 0.5);
  background: #f4ece0;
}
.ticket__notch {
  position: absolute;
  left: 50%;
  height: 24px;
  width: 24px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--navy-deep);
}
.ticket__notch--top {
  top: -12px;
}
.ticket__notch--bottom {
  bottom: -12px;
}

/* ---------- music player ---------- */
#music-toggle {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 110;
  display: flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(248, 211, 164, 0.7);
  background: rgba(1, 4, 9, 0.8);
  color: var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}
#music-toggle:hover {
  transform: scale(1.05);
}
#music-toggle:active {
  transform: scale(0.95);
}

/* ---------- hero ---------- */
#hero {
  min-height: 100svh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
#hero .beast {
  position: absolute;
  left: -32px;
  bottom: 0;
  z-index: 10;
  height: 60%;
  width: 75%;
  max-width: 380px;
  pointer-events: none;
}
#hero .beast img {
  object-fit: contain;
  object-position: bottom;
  transform: scaleX(-1);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px 96px;
}
.crest {
  position: relative;
  height: 224px;
  width: 160px;
}
.crest img {
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(248, 211, 164, 0.35));
  width: 100%;
  height: 100%;
}
.hero-name {
  margin-top: 16px;
  padding-top: 8px;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 1.05;
  background: linear-gradient(to bottom, #fff6e0, #f8d3a4, #c9962f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}
.hero-sub {
  position: relative;
  margin-top: 4px;
  height: 56px;
  width: 256px;
}
.hero-sub img {
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
  width: 100%;
  height: 100%;
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}

/* ---------- storybook ---------- */
#storybook {
  background: #0b1224;
}
.storybook-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1086 / 1448;
}
.storybook-img img {
  object-fit: cover;
}

/* ---------- section divider ---------- */
.divider {
  position: relative;
  z-index: 20;
  width: 100%;
  overflow: hidden;
  height: 128px;
  margin: -64px 0;
}
.divider__inner {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: 160vw;
  transform: translate(-50%, -50%);
}
@media (min-width: 640px) {
  .divider {
    height: 192px;
    margin: -96px 0;
  }
}

/* ---------- video backdrop (location/dress/gallery/guestbook/rsvp) ---------- */
.video-backdrop {
  position: relative;
  isolation: isolate;
}
.video-backdrop__video-wrap {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100svh;
  width: 100%;
  margin-bottom: -100svh;
  overflow: hidden;
}
.video-backdrop__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-backdrop__video-wrap .tint {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 9, 0.4);
}
.video-backdrop__content {
  position: relative;
  z-index: 10;
}

/* ---------- location card ---------- */
#location {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
#location .gold-bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(to right, rgba(248, 211, 164, 0.4), var(--gold-light), rgba(248, 211, 164, 0.4));
  pointer-events: none;
}
.venues {
  position: relative;
  z-index: 10;
  display: grid;
  width: 100%;
  max-width: 768px;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 640px) {
  .venues {
    grid-template-columns: 1fr 1fr;
  }
}
.venue {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.venue svg {
  color: rgba(255, 233, 199, 0.9);
  width: 80px;
  height: 80px;
}
.venue__kicker {
  margin-top: 16px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.1rem;
}
.venue__name {
  margin-top: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: #fff;
  font-size: 1.75rem;
}
.venue__address {
  margin-top: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}
.venue__link {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
.venue__link:hover {
  color: var(--gold-light);
}

/* ---------- dress code ---------- */
#dress-code {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.dress-kicker {
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.5rem;
}
.dress-title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
}
.swatches {
  margin-top: 40px;
  display: flex;
  gap: 12px;
}
.swatch {
  height: 40px;
  width: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}
.swatch:hover {
  transform: scale(1.1);
}
.dress-text {
  margin-top: 32px;
  max-width: 400px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: #fff;
  font-size: 1.1rem;
}
.dress-text--gold {
  margin-top: 16px;
  color: var(--gold-light);
}

/* ---------- gallery ---------- */
#gallery {
  padding: 80px 0;
}
.gallery-title {
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.5rem;
  text-align: center;
}
.gallery-row {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px 16px;
}
.gallery-row button {
  position: relative;
  flex-shrink: 0;
  width: 72vw;
  height: 256px;
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: none;
  padding: 0;
}
.gallery-row img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 16px;
}
#lightbox.open {
  display: flex;
}
#lightbox .lb-close,
#lightbox .lb-prev,
#lightbox .lb-next {
  position: absolute;
  z-index: 10;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
#lightbox .lb-close:hover,
#lightbox .lb-prev:hover,
#lightbox .lb-next:hover {
  color: #fff;
}
#lightbox .lb-close {
  right: 16px;
  top: 16px;
}
#lightbox .lb-prev {
  left: 8px;
}
#lightbox .lb-next {
  right: 8px;
}
#lightbox .lb-img-wrap {
  position: relative;
  height: 70vh;
  width: 100%;
  max-width: 512px;
}
#lightbox .lb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#lightbox .lb-counter {
  position: absolute;
  bottom: 24px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ---------- guestbook ---------- */
#guestbook {
  padding: 80px 24px;
}
.gb-wrap {
  margin: 0 auto;
  display: flex;
  max-width: 400px;
  flex-direction: column;
  align-items: center;
}
.gb-wrap svg {
  color: var(--gold-light);
  width: 40px;
  height: 40px;
}
.gb-title {
  margin-top: 16px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.5rem;
}
.gb-sub {
  margin-top: 8px;
  max-width: 320px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}
.field {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(248, 211, 164, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  font-family: var(--font-elegant);
  color: #fff;
  outline: none;
  transition: border-color 0.3s;
}
.field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.field:focus {
  border-color: var(--gold);
}
#gb-form {
  margin-top: 24px;
  width: 100%;
  text-align: left;
}
#gb-form textarea {
  margin-top: 12px;
  resize: none;
}
#gb-form button {
  margin-top: 12px;
  height: 48px;
  width: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(248, 211, 164, 0.7);
  background: linear-gradient(to bottom, rgba(10, 19, 48, 0.9), var(--navy-deep));
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  transition: transform 0.3s;
}
#gb-form button:hover {
  transform: scale(1.02);
}
#gb-form button:disabled {
  opacity: 0.5;
}
#gb-aviso {
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
}
.thin-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 24px, black calc(100% - 24px), transparent);
  mask-image: linear-gradient(to bottom, transparent, black 24px, black calc(100% - 24px), transparent);
}
.thin-scroll::-webkit-scrollbar {
  width: 6px;
}
.thin-scroll::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 9999px;
}
#gb-list {
  margin-top: 32px;
  max-height: 320px;
  width: 100%;
  overflow-y: auto;
  padding: 16px 4px;
  display: none;
}
#gb-list.visible {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signature-card {
  border-radius: 12px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  text-align: left;
  animation: signature-in 0.35s ease-out;
}
@keyframes signature-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.signature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.signature-card__msg {
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}
.signature-card__date {
  flex-shrink: 0;
  font-family: var(--font-elegant);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}
.signature-card__name {
  margin-top: 8px;
  font-family: var(--font-elegant);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248, 211, 164, 0.7);
}
#gb-count {
  margin-top: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  display: none;
}

/* ---------- rsvp ---------- */
#rsvp {
  padding: 96px 24px;
}
.rsvp-wrap {
  margin: 0 auto;
  max-width: 400px;
}
.rsvp-intro {
  margin-bottom: 24px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: #fff;
  font-size: 1.1rem;
}
#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.field-label {
  margin-bottom: 4px;
  display: block;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
}
#rsvp-mesa-note {
  margin-top: 4px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 233, 199, 0.7);
  font-size: 0.75rem;
  display: none;
}
.asistencia-row {
  display: flex;
  gap: 12px;
}
.asistencia-btn {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(248, 211, 164, 0.3);
  background: none;
  padding: 12px 16px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}
.asistencia-btn:hover {
  border-color: rgba(248, 211, 164, 0.6);
}
.asistencia-btn.active {
  border-color: var(--gold);
  background: rgba(248, 211, 164, 0.2);
  color: var(--gold-light);
}
#rsvp-boletos-wrap {
  display: none;
}
#rsvp-submit {
  margin-top: 8px;
  height: 56px;
  width: 100%;
}
#rsvp-submit .pill-btn__label {
  font-size: 1.1rem;
}
.rsvp-phone {
  margin: 4px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 233, 199, 0.8);
  font-size: 0.85rem;
  width: fit-content;
  text-decoration: none;
  transition: color 0.3s;
}
.rsvp-phone:hover {
  color: var(--gold-light);
}
.rsvp-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.rsvp-result svg {
  color: var(--gold-light);
  width: 40px;
  height: 40px;
}
.rsvp-result p {
  margin: 0;
  font-family: var(--font-elegant);
  color: #fff;
}
.rsvp-result .title {
  font-style: italic;
  font-size: 1.3rem;
}
.rsvp-result .detail {
  max-width: 320px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}
.rsvp-result .link-btn {
  margin-top: 8px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
}
.rsvp-result .wa-btn {
  margin-top: 8px;
  display: flex;
  height: 48px;
  width: 224px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(248, 211, 164, 0.7);
  background: linear-gradient(to bottom, rgba(10, 19, 48, 0.9), var(--navy-deep));
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  text-decoration: none;
}

/* ---------- footer ---------- */
#footer {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
#footer .fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
#footer p {
  position: relative;
  z-index: 10;
  padding-bottom: 64px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--gold-light);
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.7));
}

/* ---------- live gallery ---------- */
#live-gallery {
  background: var(--navy-deep);
  padding: 80px 24px;
}
.lg-wrap {
  margin: 0 auto;
  max-width: 400px;
}
.lg-eyebrow {
  font-family: var(--font-elegant);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.lg-title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: var(--gold-light);
}
.lg-sub {
  margin-top: 12px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}
.lg-card {
  margin-top: 32px;
  border-radius: 16px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
}
.lg-card svg {
  margin: 0 auto;
  display: block;
  color: rgba(255, 233, 199, 0.8);
  width: 48px;
  height: 48px;
}
.lg-days {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
}
.lg-placeholder {
  margin-top: 16px;
  display: flex;
  height: 48px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}
.lg-open-link {
  margin-top: 24px;
  display: flex;
  height: 48px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(248, 211, 164, 0.7);
  background: linear-gradient(to bottom, rgba(10, 19, 48, 0.9), var(--navy-deep));
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  text-decoration: none;
}
.lg-steps {
  margin-top: 32px;
  text-align: left;
  list-style: none;
  padding: 0;
}
.lg-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}
.lg-steps li:first-child {
  margin-top: 0;
}
.lg-steps .num {
  display: flex;
  height: 24px;
  width: 24px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(248, 211, 164, 0.5);
  font-family: var(--font-elegant);
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-top: 2px;
}
.lg-steps span.txt {
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ---------- boletos (admin generator page) ---------- */
.bol-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: var(--navy-deep);
  padding: 64px 24px;
}
.bol-card {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: rgba(10, 19, 48, 0.6);
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.bol-eyebrow {
  font-family: var(--font-elegant);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.bol-title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: var(--gold-light);
}
.bol-sub {
  margin-top: 4px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.bol-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.bol-row {
  display: flex;
  gap: 12px;
}
.bol-row > div {
  flex: 1;
}
.bol-form select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(248, 211, 164, 0.4);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  font-family: var(--font-elegant);
  color: #fff;
  outline: none;
}
.bol-form select option {
  color: var(--navy-deep);
}
#bol-generar {
  height: 48px;
  width: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(248, 211, 164, 0.7);
  background: linear-gradient(to bottom, rgba(10, 19, 48, 0.9), var(--navy-deep));
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold);
  transition: transform 0.3s;
}
#bol-generar:hover {
  transform: scale(1.02);
}
#bol-generar:disabled {
  opacity: 0.5;
}
.bol-note {
  margin-top: 32px;
  font-family: var(--font-elegant);
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}
.bol-sheet-link {
  display: block;
  text-align: center;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#bol-resultado {
  width: 100%;
  max-width: 400px;
  display: none;
}
#bol-resultado.visible {
  display: block;
}
.bol-result-label {
  margin-bottom: 12px;
  text-align: center;
  font-family: var(--font-elegant);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.bol-details {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: rgba(10, 19, 48, 0.6);
  padding: 24px;
}
.bol-url-box {
  margin-bottom: 16px;
  word-break: break-all;
  border-radius: 12px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  user-select: all;
}
.bol-msg-box {
  margin-bottom: 12px;
  width: 100%;
  resize: none;
  border-radius: 12px;
  border: 1px solid rgba(248, 211, 164, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  outline: none;
}
.bol-btn-row {
  display: flex;
  gap: 8px;
}
.bol-btn-row button,
.bol-btn-row a {
  height: 44px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
#bol-copiar {
  border: 1px solid rgba(248, 211, 164, 0.4);
  background: none;
  color: var(--gold-light);
}
#bol-copiar:hover {
  border-color: var(--gold);
}
#bol-whatsapp {
  background: #25743f;
  color: #fff;
  border: none;
}
#bol-whatsapp:hover {
  background: #1f6435;
}
#bol-ver {
  margin-top: 12px;
  display: block;
  text-align: center;
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- utility text sizing ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
