/* Tema rosa inspirado en la nueva referencia, sin copiar su composición. */
:root {
  --plum-950: #442a34;
  --plum-900: #633447;
  --plum-800: #843e58;
  --plum-700: #a94f6c;
  --wine: #a94f6c;
  --rose-500: #c76f84;
  --rose-300: #dda0ad;
  --rose-200: #f0cbd2;
  --rose-100: #fbecef;
  --pearl: #fff9f8;
  --paper: #fff5f5;
  --ink: #442a34;
  --ink-soft: #765d67;
  --gold: #b78c46;
  --gold-bright: #cfaa67;
  --gold-pale: #ead4a9;
  --white: #ffffff;
  --shadow: 0 28px 78px rgba(169, 79, 108, 0.22);
}

body {
  background:
    radial-gradient(
      circle at -5% 15%,
      rgba(239, 184, 196, 0.2),
      transparent 17rem
    ),
    radial-gradient(
      circle at 105% 42%,
      rgba(244, 205, 212, 0.3),
      transparent 18rem
    ),
    var(--pearl);
  color: var(--ink);
}

body::selection {
  background: var(--rose-200);
  color: var(--ink);
}

:focus-visible {
  outline-color: var(--plum-700);
}

.section-kicker,
.section-kicker--light {
  color: var(--plum-700);
}

.opening-veil {
  background:
    radial-gradient(
      circle at 50% 46%,
      rgba(255, 255, 255, 0.82),
      transparent 18rem
    ),
    linear-gradient(145deg, #f8dfe4, #fff7f6 55%, #f1cbd3);
  color: var(--plum-700);
  animation: veil-away 520ms var(--ease-soft) 360ms forwards;
}

.opening-veil::before,
.opening-veil::after {
  border-color: rgba(169, 79, 108, 0.3);
}

.opening-veil__mark i {
  background: var(--plum-700);
}

.opening-veil p {
  color: var(--ink-soft);
}

.botanical,
.message-section__flower,
.rsvp-bloom {
  display: none;
}

.floral-art {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
  user-select: none;
}

.floral-art img {
  width: 100%;
  height: auto;
}

.hero {
  min-height: 100svh;
  background:
    radial-gradient(
      circle at 86% 10%,
      rgba(255, 255, 255, 0.96),
      transparent 25rem
    ),
    radial-gradient(
      circle at 5% 82%,
      rgba(232, 164, 178, 0.34),
      transparent 28rem
    ),
    linear-gradient(128deg, #fffafa 0%, #fcedf0 53%, #f4d6dc 100%);
  color: var(--ink);
}

.hero::before {
  opacity: 0.13;
  mix-blend-mode: multiply;
}

.hero::after {
  right: clamp(-300px, -9vw, -80px);
  width: min(70vw, 890px);
  border-color: rgba(169, 79, 108, 0.13);
}

.hero__wash {
  background:
    linear-gradient(90deg, rgba(255, 249, 248, 0.26), transparent 58%),
    radial-gradient(
      circle at 14% 10%,
      rgba(255, 255, 255, 0.9),
      transparent 25rem
    );
}

.floral-art--hero-branch {
  top: -17%;
  right: -3%;
  z-index: 2;
  width: clamp(320px, 35vw, 540px);
  opacity: 0;
  filter: saturate(0.9) drop-shadow(0 16px 28px rgba(169, 79, 108, 0.08));
  transform: rotate(13deg);
  transform-origin: 70% 10%;
  clip-path: inset(0 0 100% 0);
  animation: branch-grow 1050ms var(--ease-out) 540ms forwards;
}

.floral-art--hero-bloom {
  top: 9%;
  left: -8%;
  width: clamp(300px, 37vw, 560px);
  opacity: 0.07;
  filter: saturate(0.75);
  transform: rotate(-16deg);
}

.hero__grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(42px, 7vw, 105px);
}

.hero__copy {
  max-width: 610px;
}

.hero__date-mark {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--plum-700);
}

.hero__date-mark > span {
  font-family: "Bodoni Moda", "Bodoni MT", Didot, Georgia, serif;
  font-size: clamp(5.5rem, 8vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.8;
}

.hero__date-mark > div {
  display: grid;
  gap: 1px;
  padding-left: 16px;
  border-left: 1px solid rgba(169, 79, 108, 0.35);
  line-height: 1.15;
}

.hero__date-mark strong {
  color: var(--ink);
  font-family: "Bodoni Moda", "Bodoni MT", Didot, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
}

.hero__date-mark small {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero__invitation {
  margin-bottom: 23px;
  color: var(--ink-soft);
}

.hero__monogram {
  color: var(--plum-700);
}

.hero__monogram i {
  background: linear-gradient(90deg, var(--rose-500), transparent);
}

.hero h1 {
  color: var(--ink);
}

.hero h1 em {
  color: var(--plum-700);
}

.hero__promise {
  color: var(--wine);
}

.hero__facts {
  border-left-color: rgba(169, 79, 108, 0.48);
}

.hero__facts p {
  color: var(--ink);
}

.hero__facts p:first-child {
  color: var(--plum-800);
}

.button--gold,
.form-submit {
  border-color: var(--plum-700);
  background: var(--plum-700);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(169, 79, 108, 0.2);
}

.button--gold:hover,
.form-submit:hover {
  background: #943f5a;
  box-shadow: 0 16px 34px rgba(169, 79, 108, 0.3);
}

.text-link,
.detail-link {
  color: var(--plum-700);
}

.portrait-wrap::before {
  border-color: rgba(169, 79, 108, 0.68);
}

.portrait-wrap::after {
  border-color: rgba(183, 140, 70, 0.42);
}

.portrait-media {
  border-color: rgba(255, 255, 255, 0.8);
  background: var(--rose-200);
  box-shadow:
    0 30px 90px rgba(169, 79, 108, 0.23),
    0 0 0 7px rgba(255, 255, 255, 0.55);
}

.portrait-media::after {
  background:
    linear-gradient(180deg, transparent 68%, rgba(100, 37, 59, 0.18)),
    radial-gradient(
      circle at 68% 15%,
      rgba(255, 255, 255, 0.16),
      transparent 28%
    );
}

.portrait-wrap figcaption {
  background: var(--plum-700);
  color: var(--white);
}

.petal {
  background: linear-gradient(
    145deg,
    rgba(255, 242, 245, 0.96),
    rgba(199, 111, 132, 0.7)
  );
  box-shadow: inset -2px -2px 3px rgba(169, 79, 108, 0.15);
}

.scroll-cue {
  color: rgba(68, 42, 52, 0.6);
}

.scroll-cue i {
  background: rgba(169, 79, 108, 0.18);
}

.scroll-cue i::after {
  background: var(--plum-700);
}

.hero__date-mark {
  animation-delay: 700ms;
}
.portrait-wrap {
  animation-delay: 600ms;
}
.hero__invitation {
  animation-delay: 760ms;
}
.hero__monogram {
  animation-delay: 820ms;
}
.hero h1 {
  animation-delay: 880ms;
}
.hero__promise {
  animation-delay: 940ms;
}
.hero__facts {
  animation-delay: 1000ms;
}
.hero__actions {
  animation-delay: 1060ms;
}
.scroll-cue {
  animation-delay: 1220ms;
}

.message-section {
  background:
    radial-gradient(
      circle at 0 100%,
      rgba(240, 203, 210, 0.35),
      transparent 26rem
    ),
    linear-gradient(180deg, #fffdfc, var(--pearl));
}

.message-section::before {
  color: rgba(169, 79, 108, 0.045);
}

.message-section h2 {
  color: var(--ink);
}

.floral-art--message-bloom {
  top: 50%;
  right: -13%;
  width: clamp(340px, 43vw, 650px);
  opacity: 0.065;
  transform: translateY(-50%) rotate(10deg);
}

.flourish {
  color: var(--plum-700);
}

.countdown-section {
  padding-block: clamp(78px, 9vw, 120px);
  background:
    radial-gradient(
      circle at 90% 0,
      rgba(255, 255, 255, 0.9),
      transparent 23rem
    ),
    linear-gradient(120deg, #f7dce2, #fff4f5 58%, #f5d2da);
  color: var(--ink);
}

.countdown-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  padding-block: 34px;
  border-top: 1px dashed rgba(169, 79, 108, 0.38);
  border-bottom: 1px dashed rgba(169, 79, 108, 0.38);
}

.countdown-section__heading {
  display: block;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.countdown-section__heading h2 {
  max-width: none;
  margin: 0 auto 42px;
  color: var(--ink);
  font-size: clamp(2.4rem, 4.3vw, 4.6rem);
}

.countdown-section .section-kicker--light {
  color: var(--plum-700);
}

.countdown {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: 0;
  color: var(--plum-800);
}

.countdown__unit {
  position: relative;
}

.countdown__unit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  right: calc(clamp(12px, 2vw, 28px) / -2);
  width: 3px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rose-500);
}

.countdown__unit span {
  color: var(--ink-soft);
}

.countdown__finished {
  padding: 0;
  color: var(--plum-800);
  text-align: center;
}

.details-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 249, 248, 0.93), rgba(255, 249, 248, 0.98)),
    radial-gradient(circle at 100% 45%, var(--rose-200), transparent 30rem);
}

.details-section .section-heading--split {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.details-section .section-heading--split > p {
  max-width: 620px;
  margin-inline: auto;
}

.floral-art--details-branch {
  top: 12%;
  right: -12%;
  z-index: -1;
  width: clamp(300px, 35vw, 520px);
  opacity: 0.33;
  transform: rotate(22deg) scaleX(-1);
}

.event-details {
  /* display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); */
  gap: clamp(42px, 8vw, 100px);
  border: 0;
}

.event-detail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  min-height: 410px;
  padding: 56px clamp(24px, 4vw, 52px);
  border-top: 1px dashed rgba(169, 79, 108, 0.36);
  border-bottom: 1px dashed rgba(169, 79, 108, 0.36);
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.event-detail::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(199, 111, 132, 0.11);
  pointer-events: none;
}

.event-detail__index {
  position: absolute;
  top: 30px;
  left: 32px;
  color: rgba(169, 79, 108, 0.16);
  font-size: clamp(4rem, 7vw, 7rem);
  font-style: normal;
}

.event-detail > div:not(.event-detail__actions) {
  position: relative;
  z-index: 1;
  align-self: center;
}

.event-detail__type {
  margin-bottom: 18px !important;
  color: var(--plum-700) !important;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-detail h3 {
  color: var(--plum-800);
  font-size: clamp(2.2rem, 4vw, 3.9rem);
}

.event-detail__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-self: end;
}

.detail-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid rgba(169, 79, 108, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--plum-700);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.detail-link::after {
  content: none;
}

.detail-link:hover {
  background: var(--plum-700);
  color: var(--white);
  transform: translateY(-2px);
}

.timeline-section {
  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(255, 255, 255, 0.65),
      transparent 24rem
    ),
    linear-gradient(125deg, #edbac5, #f7dce2 54%, #efc4cd);
  color: var(--ink);
}

.timeline-section::after {
  border-color: rgba(169, 79, 108, 0.12);
}

.timeline-intro h2,
.timeline h3 {
  color: var(--ink);
}

.timeline-intro > p:last-child,
.timeline p {
  color: rgba(68, 42, 52, 0.72);
}

.timeline::before {
  background: linear-gradient(var(--plum-700), rgba(169, 79, 108, 0.1));
}

.timeline time {
  color: var(--plum-800);
  font-weight: 600;
}

.timeline__dot {
  border-color: #f3cbd3;
  background: var(--plum-700);
  box-shadow: 0 0 0 5px rgba(169, 79, 108, 0.13);
}

.dress-section {
  background:
    radial-gradient(
      circle at 3% 86%,
      rgba(240, 203, 210, 0.45),
      transparent 24rem
    ),
    var(--pearl);
}

.dress-layout {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.dress-copy {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.dress-copy > p:not(.section-kicker):not(.dress-note) {
  margin-inline: auto;
}

.palette,
.dress-note {
  justify-content: center;
}

.dress-art {
  background:
    radial-gradient(
      circle at 50% 32%,
      rgba(255, 255, 255, 0.78),
      transparent 29%
    ),
    linear-gradient(145deg, #d9899d, #efbcc6 55%, #c66f85);
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(169, 79, 108, 0.15);
}

.dress-art::before,
.dress-art__arch {
  border-color: rgba(255, 255, 255, 0.52);
}

.dress-art__star,
.dress-note span {
  color: var(--plum-700);
}

.rsvp-section {
  background:
    radial-gradient(
      circle at 0 100%,
      rgba(255, 255, 255, 0.24),
      transparent 28rem
    ),
    linear-gradient(130deg, #d98fa1, #efbdc7 55%, #cf7e92);
  color: var(--ink);
}

.rsvp-section::before {
  opacity: 0.12;
  mask-image: linear-gradient(90deg, #000, transparent 58%);
}

.rsvp-intro h2 {
  color: var(--ink);
}

.rsvp-intro > p:not(.section-kicker) {
  color: rgba(68, 42, 52, 0.78);
}

.rsvp-intro strong {
  color: var(--ink);
}

.rsvp-signature {
  color: rgba(68, 42, 52, 0.16);
}

.rsvp-signature span {
  color: var(--plum-700);
}

.rsvp-panel {
  background: rgba(255, 252, 251, 0.96);
  box-shadow: 0 30px 80px rgba(117, 45, 69, 0.22);
}

.rsvp-panel::before {
  border-color: rgba(169, 79, 108, 0.2);
}

.floral-art--rsvp-bloom {
  top: 50%;
  left: -14%;
  z-index: 0;
  width: clamp(390px, 44vw, 670px);
  opacity: 0.1;
  transform: translateY(-50%) rotate(-18deg);
}

.choice:has(input:checked) {
  border-color: var(--plum-700);
  background: var(--rose-100);
}

.choice input {
  accent-color: var(--plum-700);
}

.site-footer {
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(221, 160, 173, 0.24),
      transparent 20rem
    ),
    var(--paper);
}

.site-footer > .shell > span {
  border-color: var(--plum-700);
  color: var(--plum-700);
}

@keyframes branch-grow {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: rotate(10deg) scale(0.97);
  }
  to {
    opacity: 0.78;
    clip-path: inset(0 0 0 0);
    transform: rotate(13deg) scale(1);
  }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero__copy {
    order: 1;
    max-width: 680px;
  }

  .portrait-wrap {
    order: 2;
  }

  .hero__date-mark {
    justify-content: center;
    margin-inline: auto;
  }

  .hero__facts::before,
  .hero__facts::after {
    background: linear-gradient(
      90deg,
      transparent,
      var(--plum-700),
      transparent
    );
  }

  .floral-art--hero-branch {
    top: 35%;
    right: -10%;
    width: min(70vw, 470px);
    opacity: 0.7;
  }

  .floral-art--hero-bloom {
    top: 2%;
    left: -24%;
  }

  .countdown-section__heading {
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
  }

  .countdown {
    padding: 0;
  }

  .timeline-intro > p:last-child {
    color: rgba(68, 42, 52, 0.72);
  }
}

@media (max-width: 720px) {
  .hero__grid {
    padding-top: 58px;
  }

  .hero__date-mark > span {
    font-size: clamp(5.4rem, 28vw, 7.2rem);
  }

  .hero__date-mark strong {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 18vw, 6.3rem);
  }

  .hero__facts {
    border-left: 0;
  }

  .portrait-wrap {
    width: min(88vw, 380px);
  }

  .floral-art--hero-branch {
    top: 48%;
    right: -24%;
    width: 84vw;
  }

  .floral-art--hero-bloom {
    top: 4%;
    left: -42%;
    width: 100vw;
  }

  .countdown-section {
    padding-block: 68px;
  }

  .countdown-section__inner {
    padding-block: 26px;
  }

  .countdown-section__heading h2 {
    margin-bottom: 34px;
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .countdown__unit strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .countdown__unit span {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .countdown__unit:not(:last-child)::after {
    right: -5px;
  }

  .event-details {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .event-detail {
    grid-template-columns: 1fr;
    min-height: 390px;
    padding: 48px 22px;
  }

  .event-detail .event-detail__actions {
    grid-column: 1;
  }

  .event-detail__index {
    top: 26px;
    left: 24px;
  }

  .floral-art--details-branch {
    top: 39%;
    right: -42%;
    width: 86vw;
    opacity: 0.2;
  }

  .timeline-section {
    background: linear-gradient(145deg, #efc4cd, #f8e1e6);
  }

  .dress-art {
    color: var(--ink);
  }

  .rsvp-layout {
    gap: 48px;
  }

  .floral-art--rsvp-bloom {
    top: 10%;
    left: -46%;
    width: 110vw;
    opacity: 0.075;
  }
}

@media (max-width: 360px) {
  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }

  .countdown__unit:nth-child(2)::after {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floral-art--hero-branch {
    opacity: 0.72;
    clip-path: none;
    transform: rotate(13deg);
  }
}
