/* Marco floral con centro limpio, inspirado en papelería tradicional. */
:root {
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --script: "Pinyon Script", cursive;
}

.hero h1,
.closing-names {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
}

.hero > .eyebrow,
.hero > h1,
.hero > .hero-date,
.hero > .hero-copy,
.hero > .text-link,
.intro > .section-number,
.intro > .intro-script,
.intro > .fabric-note,
.where > *,
.timing > *,
.closing > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 540px;
  padding-inline: 1rem;
}

.intro-script--stacked {
  line-height: .82;
}

.intro-script--stacked span {
  display: block;
}

.fabric-note {
  max-width: 720px;
}

.fabric-note h2,
.where h2,
.where-date,
.timing > h2,
.timing > .pending-note,
.closing h2 {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.where {
  width: min(800px, calc(100% - 3rem));
  padding-left: clamp(2rem, 8vw, 6rem);
  padding-right: clamp(2rem, 8vw, 6rem);
}

.timing {
  width: min(780px, calc(100% - 3rem));
  padding-left: clamp(1.5rem, 6vw, 4rem);
  padding-right: clamp(1.5rem, 6vw, 4rem);
}

.timeline {
  max-width: 590px;
}

.detail-card {
  padding-left: clamp(2.5rem, 6vw, 5.5rem);
  padding-right: clamp(2.5rem, 6vw, 5.5rem);
}

.rsvp-heading h2,
.rsvp-heading > p:last-child {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.closing h2 {
  max-width: 650px;
}

h2,
.hero-copy,
.where-date,
.timeline h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.site-content {
  background-color: #faf4eb;
  background-image:
    linear-gradient(
      90deg,
      rgba(250,244,235,.06) 0%,
      rgba(250,244,235,.18) 12%,
      rgba(250,244,235,.94) 29%,
      #faf4eb 40%,
      #faf4eb 60%,
      rgba(250,244,235,.94) 71%,
      rgba(250,244,235,.18) 88%,
      rgba(250,244,235,.06) 100%
    ),
    var(--linen-image);
  background-size: auto, 100% auto;
  background-repeat: repeat, repeat-y;
  background-position: center top;
}

.hero::before,
.intro::before,
.timing::before,
.closing::before {
  display: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero {
  background: transparent;
}

.fabric-note,
.where,
.detail-card,
.rsvp-section,
.rsvp-form {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.fabric-note {
  background: rgba(255, 252, 247, .93);
}

.where {
  background: rgba(255, 252, 247, .9);
}

.detail-card--rose {
  background: rgba(237, 215, 210, .94);
}

.detail-card--apricot {
  background: rgba(240, 213, 194, .94);
}

.rsvp-section {
  background: rgba(249, 240, 232, .93);
}

.rsvp-form {
  background: rgba(255, 253, 249, .98) !important;
}

.closing {
  background: transparent;
}

/* La cuenta atrás mantiene el cristal solicitado. */
.countdown-card {
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

@media (max-width: 760px) {
  .site-content {
    background-image:
      linear-gradient(
        90deg,
        rgba(250,244,235,.08) 0%,
        rgba(250,244,235,.92) 18%,
        #faf4eb 31%,
        #faf4eb 69%,
        rgba(250,244,235,.92) 82%,
        rgba(250,244,235,.08) 100%
      ),
      var(--linen-image);
  }
  .hero-copy { max-width: 34ch; padding-inline: 1.25rem; }
  .fabric-note { width: calc(100% - 1.5rem); padding-left: 2rem; padding-right: 2rem; }
  .where,.timing { width: calc(100% - 1.5rem); padding-left: 1.6rem; padding-right: 1.6rem; }
  .detail-card { padding-left: 2rem; padding-right: 2rem; }
  .closing { padding-left: 2rem; padding-right: 2rem; }
}
