:root {
  /* Paleta inspirada en invigo.lat/xv-alma */
  --bg: #0a0b0f;
  --surface: #14161c;
  --silver-mid: #8b9099;
  --platinum: #f1f2f4;
  --graphite: #4a4e54;
  --steel: #c7ccd3;
  --silver: #c9ced6;
  --border-accent: #b8bec6;
  --text: #c9ced6;
  --text-bright: #f1f2f4;
  --text-muted: rgba(201, 206, 214, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-title: "DM Serif Display", serif;
  --font-text: "Montserrat", sans-serif;
  --font-name: "Dancing Script", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--graphite);
  color: var(--platinum);
}

body {
  min-height: 100dvh;
  font-family: var(--font-text);
  font-weight: 500;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(241, 242, 244, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 75%, rgba(199, 204, 211, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #0d0e13 50%, var(--bg) 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambiente: halos de luz */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: floatBlob 11s ease-in-out infinite;
}

.ambient__blob--1 {
  width: 260px;
  height: 260px;
  background: var(--platinum);
  top: 6%;
  left: -70px;
}

.ambient__blob--2 {
  width: 300px;
  height: 300px;
  background: var(--steel);
  bottom: 12%;
  right: -80px;
  animation-delay: 2.5s;
}

.ambient__blob--3 {
  width: 190px;
  height: 190px;
  background: var(--silver);
  top: 48%;
  left: 38%;
  animation-delay: 5s;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -28px) scale(1.12); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

/* —— Invitation shell —— */
.invitation {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.invitation[hidden] {
  display: none;
}

.section {
  text-align: center;
  padding: 2.75rem 0;
}

.section__title {
  font-family: var(--font-title);
  font-size: calc(1.15rem + 3pt);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 1rem;
}

.section--cuando {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3.5rem 1.5rem;
  background: #ffffff;
}

.section--cuando__inner {
  max-width: 480px;
  margin: 0 auto;
}

.icon-line {
  display: flex;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: #8b9099;
}

.icon-line--donde,
.icon-line--regalos {
  color: #ffffff;
}

.icon-line svg {
  width: 2.75rem;
  height: 2.75rem;
  overflow: visible;
}

.icon-line__float {
  animation: iconFloat 2.8s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.icon-line__pulse {
  animation: iconPulse 2s ease-in-out infinite;
}

.icon-line__pulse--2 { animation-delay: 0.25s; }
.icon-line__pulse--3 { animation-delay: 0.5s; }
.icon-line__pulse--4 { animation-delay: 0.35s; }
.icon-line__pulse--5 { animation-delay: 0.6s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes iconPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.section--cuando .section__title {
  color: #8b9099;
}

.section--cuando .info-block__text {
  color: #6e737a;
  margin-bottom: 1.75rem;
}

.section--cuando .info-block__text .dot {
  color: #b8bec6;
}

.btn--cuando {
  background: transparent;
  color: #6e737a;
  border: 1px solid #b8bec6;
  outline: 1px solid #c9ced6;
  outline-offset: 4px;
}

.btn--cuando:hover {
  background: #8b9099;
  border-color: #8b9099;
  color: #ffffff;
  outline-color: #8b9099;
}

.section--donde,
.section--regalos,
.section--cierre {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3.5rem 1.5rem;
  overflow: hidden;
}

.section--donde__bg,
.section--regalos__bg,
.section--cierre__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.05)),
    linear-gradient(
      160deg,
      #3a3d42 0%,
      #5a5e66 22%,
      #7a7f88 45%,
      #545860 68%,
      #2f3238 100%
    );
  z-index: 0;
}

.section--donde__bg::after,
.section--regalos__bg::after,
.section--cierre__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.12) 48%,
    transparent 65%
  );
  pointer-events: none;
}

.section--donde__inner,
.section--regalos__inner,
.section--cierre__inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
}

.section--donde .section__title,
.section--regalos .section__title {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.section--donde .info-block__text--place {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.btn--donde,
.btn--regalos {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn--donde:hover,
.btn--regalos:hover {
  background: #ffffff;
  border-color: #ffffff;
  outline-color: #ffffff;
  color: #3a3d42;
  text-shadow: none;
}

.section--dress {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3.5rem 1.5rem;
  background: #ffffff;
}

.section--dress__inner {
  max-width: 480px;
  margin: 0 auto;
}

.section--dress .section__title {
  color: #8b9099;
}

.dress__style {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  text-transform: none;
  color: #6e737a;
  margin-bottom: 1.75rem;
}

.dress__colors-label {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: #6e737a;
  margin-bottom: 1rem;
}

.dress__colors {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
}

.dress__color {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.95rem;
  color: #6e737a;
  letter-spacing: 0.06em;
}

.dress__swatch {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.dress__swatch--verde {
  background: #2e7d4f;
}

.dress__swatch--azul {
  background: #2f5fa8;
}

.dress__swatch--plateado {
  background: linear-gradient(145deg, #c9ced6, #8b9099 55%, #6e737a);
}

.dress__note {
  font-family: var(--font-text);
  font-weight: 500;
  font-style: italic;
  font-size: 0.9rem;
  color: #8b9099;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-title);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--platinum);
  text-shadow: 0 0 10px rgba(241, 242, 244, 0.6);
}

/* —— Hero —— */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.35) 45%,
      rgba(255, 255, 255, 0.4) 100%
    ),
    url("hero.png?v=20260730c") center / cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  width: 100%;
  max-width: 480px;
}

.hero__title {
  font-family: var(--font-text);
  font-size: clamp(1.45rem, 5.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  color: #111111;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.85),
    0 0 18px rgba(255, 255, 255, 0.55);
  margin: 0 0 0.5rem;
}

.hero__name {
  font-family: var(--font-name);
  font-size: clamp(4.85rem, 19vw, 7.5rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #111111;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.9),
    0 0 22px rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.hero .divider span {
  background: linear-gradient(90deg, #2c2d30, #6e737a, #2c2d30);
  box-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.divider {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 1.25rem 0;
}

.divider span {
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--platinum), var(--steel));
  box-shadow: 0 0 14px rgba(241, 242, 244, 0.5);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* —— Countdown —— */
.countdown {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.countdown__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.15rem;
  flex-wrap: nowrap;
  width: 100%;
}

.countdown__item {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.35rem 0.1rem;
  text-align: center;
}

.countdown__num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 6vw, 2.55rem);
  font-weight: 400;
  color: #111111;
  line-height: 1.1;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.85),
    0 0 14px rgba(255, 255, 255, 0.5);
}

.countdown__label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: clamp(0.55rem, 2.6vw, 0.72rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.85),
    0 0 12px rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.countdown__sep {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(1.4rem, 6vw, 2.55rem);
  margin-top: 0.35rem;
  color: #111111;
  font-size: clamp(1rem, 4vw, 1.4rem);
  line-height: 1;
  opacity: 0.75;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* —— Info blocks —— */
.info-block__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--silver);
  letter-spacing: 0.04em;
}

.info-block__text .dot {
  margin: 0 0.35rem;
  color: var(--steel);
  opacity: 0.7;
}

.info-block__text--place {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.info-block__text--emphasis {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--platinum);
}

/* —— Gifts —— */
.gifts__copy {
  max-width: 22rem;
  margin: 0 auto 1.75rem;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
}

.section--regalos .gifts__copy {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* —— Invite message —— */
.invite-msg__name {
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 10vw, 3.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  background: linear-gradient(90deg, var(--platinum), var(--steel));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.25rem 0 0.5rem;
}

.invite-msg__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.05rem;
  font-style: normal;
  color: var(--platinum);
  max-width: 18rem;
  margin: 0 auto;
  line-height: 1.45;
}

.invite-msg__text strong {
  font-family: var(--font-title);
  font-weight: 400;
  font-style: normal;
  color: var(--text-bright);
}

/* —— Confirm —— */
.section--confirm {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3.5rem 1.5rem;
  background: #ffffff;
}

.section--confirm__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section--confirm .section__title {
  color: #8b9099;
}

.confirm__deadline {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.95rem;
  color: #6e737a;
  margin-bottom: 0.5rem;
}

.btn--confirm {
  background: transparent;
  color: #6e737a;
  border: 1px solid #b8bec6;
  outline: 1px solid #c9ced6;
  outline-offset: 4px;
}

.btn--confirm:hover {
  background: #8b9099;
  border-color: #8b9099;
  outline-color: #8b9099;
  color: #ffffff;
}

/* —— Closing —— */
.closing {
  padding-bottom: 3.5rem;
}

.closing__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.75rem, 12vw, 4rem);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.closing__flourish {
  margin-top: 1rem;
  color: #ffffff;
  opacity: 0.85;
  animation: pulse 3s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* —— Footer —— */
.footer {
  text-align: center;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--glass-border);
}

.footer__brand {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.footer__social a {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-mid);
  text-decoration: none;
  transition: color 0.25s;
}

.footer__social a:hover {
  color: var(--platinum);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--platinum);
  border: 1px solid rgba(241, 242, 244, 0.4);
  box-shadow: 0 0 14px rgba(241, 242, 244, 0.15);
}

.btn--primary:hover {
  background: var(--platinum);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(241, 242, 244, 0.35);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--platinum);
  border: 1px solid rgba(241, 242, 244, 0.35);
}

.btn--outline:hover {
  border-color: var(--platinum);
  color: var(--bg);
  background: var(--platinum);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.65rem;
  margin-top: 0.75rem;
}

/* —— Modal —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.modal__panel {
  position: relative;
  width: min(100%, 360px);
  padding: 2.5rem 1.75rem 2rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--border-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(241, 242, 244, 0.08);
  text-align: center;
  animation: slideUp 0.4s var(--ease);
}

.modal--light .modal__panel {
  background: #ffffff;
  border: 1px solid #d4d7db;
  border-top: 3px solid #8b9099;
  box-shadow: 0 20px 60px rgba(44, 45, 48, 0.18);
}

.modal--light .modal__title {
  color: #8b9099;
}

.modal--light .modal__body p,
.modal--light .modal__body strong {
  color: #6e737a;
}

.modal--light .modal__body .label {
  color: #8b9099;
}

.modal--light .modal__close {
  color: #8b9099;
}

.modal--light .modal__close:hover {
  color: #6e737a;
}

.btn--modal-light {
  background: transparent;
  color: #6e737a;
  border: 1px solid #b8bec6;
  outline: 1px solid #c9ced6;
  outline-offset: 3px;
}

.btn--modal-light:hover {
  background: #8b9099;
  border-color: #8b9099;
  outline-color: #8b9099;
  color: #ffffff;
}

/* —— RSVP modal —— */
.modal--rsvp .modal__panel.rsvp-panel {
  width: min(100%, 420px);
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: left;
}

.rsvp__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b9099;
  text-align: center;
  margin-bottom: 0.75rem;
}

.rsvp__subtitle {
  font-family: var(--font-text);
  font-weight: 500;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #6e737a;
  text-align: center;
  margin-bottom: 1.75rem;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rsvp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rsvp-field label {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b9099;
}

.rsvp-field input,
.rsvp-field select {
  width: 100%;
  padding: 0.85rem 0.9rem;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.85rem;
  color: #6e737a;
  background: #f4f5f7;
  border: 1px solid #d4d7db;
  border-radius: 4px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.rsvp-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b9099' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.rsvp-field input::placeholder {
  color: #a8adb5;
}

.rsvp-field input:focus,
.rsvp-field select:focus {
  border-color: #8b9099;
}

.rsvp-field select option {
  background: #ffffff;
  color: #6e737a;
}

.rsvp-error,
.rsvp-success {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.8rem;
  text-align: center;
  margin: 0;
}

.rsvp-error {
  color: #b85c5c;
}

.rsvp-success {
  color: #5a8f6a;
}

.rsvp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: #8b9099;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease);
}

.rsvp-submit:hover {
  background: #6e737a;
  transform: translateY(-1px);
}

.rsvp-submit__icon {
  font-size: 0.65rem;
  opacity: 0.9;
}

@media (max-width: 480px) {
  .rsvp-row {
    grid-template-columns: 1fr;
  }
}

.modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.modal__close:hover {
  color: var(--platinum);
}

.modal__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 1.5rem;
}

.modal__body p {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  word-break: break-all;
}

.modal__body .label {
  display: block;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.prices {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.price__label {
  display: block;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price__value {
  display: block;
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--platinum);
  margin-top: 0.25rem;
}

.pago {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.pago h4 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 1rem;
}

/* —— Animations —— */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (min-width: 640px) {
  .invitation {
    max-width: 520px;
  }

  .countdown__grid {
    gap: 0.35rem;
    justify-content: center;
  }

  .countdown__item {
    flex: 0 0 auto;
    min-width: 5rem;
    padding: 0.75rem 0.35rem;
  }

  .countdown__label {
    letter-spacing: 0.2em;
  }

  .countdown__sep {
    margin-top: 0.75rem;
    height: clamp(1.4rem, 6vw, 2.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}
