:root {
  --bg: #f5efe6;
  --bg-2: #efe7db;
  --text: #3c2f2a;
  --accent: #dcd6c8;        /* oro bianco chiaro */
  --accent-2: #b9b2a4;      /* oro bianco medio */
  --blue: #3f648f;          /* blu più scuro */
  --blue-2: #26486f;        /* blu profondo per dettagli */
  --shadow: rgba(0,0,0,0.12);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1400px 900px at 20% 10%, rgba(255,255,255,.65), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  font-family: "Lora", serif;
}
.landing-body { display: grid; place-items: center; }
.invite-body { display: grid; place-items: center; min-height: 100vh; margin: 0; }
.landing {
  width: min(100%, 900px);
  padding: 32px 20px;
  text-align: center;
}
.card {
  position: relative;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 2px rgba(185, 178, 164, .55),
    inset 0 0 32px rgba(0,0,0,.06),
    0 18px 35px var(--shadow);
  background: linear-gradient(180deg, #f8f2e8, #efe5d7);
}
.invite-photo {
  width: min(100%, 900px);
  min-height: 100vh;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 2px rgba(185, 178, 164, .55),
    inset 0 0 32px rgba(0,0,0,.06),
    0 18px 35px var(--shadow);
  background-image: url("invite-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.invite-photo .hotspot {
  position: absolute;
  width: clamp(52px, 7vw, 80px);
  height: clamp(52px, 7vw, 80px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  text-decoration: none;
}
.invite-photo .hotspot.church { top: 65%; left: 72%; }
.invite-photo .hotspot.restaurant { top: 65%; left: 26%; }
.invite-photo .hotspot.confirm { top: 30%; left: 50%; width: clamp(52px, 7vw, 72px); height: clamp(52px, 7vw, 72px); }
@media (max-width: 480px) {
  .invite-photo .hotspot { width: 56px; height: 56px; }
  .invite-photo .hotspot.church { top: 56%; left: 73%; }
  .invite-photo .hotspot.restaurant { top: 61%; left: 28%; }
  .invite-photo .hotspot.confirm { top: 68%; left: 50%; width: 64px; height: 64px; }
}
.invite-photo .seals {
  position: absolute;
  left: 50%;
  bottom: 25%;
  transform: translateX(-50%);
  width: min(50%, 760px);
  display: grid;
  grid-auto-rows: auto;
  gap: 5px;
}
.invite-photo .seal-row {
  display: grid;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.invite-photo .seal-row.right-icon {
  grid-template-columns: 1fr clamp(64px, 6.8vw, 70px);
}
.invite-photo .seal-row.left-icon {
  grid-template-columns: clamp(54px, 5.8vw, 70px) 1fr;
}
.invite-photo .seal-row.center {
  grid-template-columns: 1fr;
  justify-items: center;
  margin-top: 6px;
}
.invite-photo .seal-row img {
  width: clamp(54px, 5.8vw, 70px);
  height: clamp(54px, 5.8vw, 70px);
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 6px 12px var(--shadow);
}
.invite-photo .seal-row.right-icon img { transform: translateX(-5px); }
.invite-photo .seal-row.left-icon img { transform: translateX(110px); }
.invite-photo .seal-row .txt { display: block; }
.invite-photo .seal-row.right-icon .txt { transform: translateX(-200px); }
.invite-photo .seal-row.left-icon .txt { transform: translateX(200px); }
.invite-photo .seals .seal-row:first-child { transform: translate(40px, -60px); }
.invite-photo .seals .seal-row:nth-child(2) { transform: translate(38px, -115px); }
.invite-photo .seal-row .name {
  font-family: "Playfair Display", serif;
  font-size: clamp(7px, 2.6vw, 18px);
  background-image: linear-gradient(180deg, #49230b 0%, #614019 60%, #401604 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 5px rgba(0,0,0,.18);
}
.invite-photo .seal-row .time {
  font-size: clamp(7px, 2.2vw, 13px);
  letter-spacing: .12em;
  background-image: linear-gradient(180deg, #49230b 0%, #614019 60%, #401604 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .95;
}
@media (max-width: 480px) {
  .invite-photo { width: 100%; min-height: 100vh; }
  .invite-photo .countdown.overlay {
    bottom: 47%;
    gap: 6px;
    width: min(340px, 85vw);
  }
  .invite-photo .countdown.overlay .value {
    font-size: clamp(14px, 4.5vw, 18px);
  }
  .invite-photo .countdown.overlay .label {
    font-size: 10px;
    letter-spacing: .20em;
  }
  .invite-photo .seals {
    bottom: 18%;
    width: 80%;
    gap: 15px;
  }
  .invite-photo .seal-row.right-icon {
    grid-template-columns: 1fr 40px;
  }
  .invite-photo .seal-row.left-icon {
    grid-template-columns: 40px 1fr;
  }
  .invite-photo .seal-row.center {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .invite-photo .seal-row img {
    width: 40px;
    height: 40px;
  }
  .invite-photo .seal-row .name {
    font-size: clamp(7px, 3.6vw, 9px);
    text-align: left;
  }
  .invite-photo .seal-row .time {
    font-size: clamp(7px, 3.4vw, 9px);
    letter-spacing: .14em;
    text-align: left;
  }
  .invite-photo .seal-row.right-icon img { transform: translateX(-65px); }
  .invite-photo .seal-row.left-icon img { transform: translateX(-35px); }
  .invite-photo .seal-row.right-icon .txt { transform: translateX(-18px); }
  .invite-photo .seal-row.left-icon .txt { transform: translateX(-18px); }
  .invite-photo .seals .seal-row:nth-child(2) { transform: translate(24px, -26px); }
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(900px, 95vw);
  margin: 14px auto 15px;
}
@media (min-width: 720px) {
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
}
.action {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px var(--shadow);
}
.action img {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: contain;
  outline: 3px solid #b08b4a;
  background: radial-gradient(circle at 28% 28%, #f7e4b0, #d4af37 70%, #a8731f 100%);
  box-shadow: 0 6px 12px var(--shadow);
}
.action .name {
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 3.2vw, 19px);
}
.action .time {
  margin-top: 4px;
  font-weight: 600;
  color: #613112;
}
.photo {
  background-image: url("index-bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: min(90vh, 920px);
  display: grid;
  place-items: center;
  position: relative;
}
.landing-note {
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
  text-align: center;
  color: #613112;
  font-size: clamp(35px, 5.8vw, 40px);
  z-index: 20;
  pointer-events: none;
}
.transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #ffffff 60%, rgba(255,255,255,0.6) 80%, rgba(255,255,255,0) 100%);
}
.transition-overlay.explode {
  opacity: 1;
  animation: explode 700ms ease-in forwards;
}
.transition-overlay.implode {
  opacity: 1;
  animation: implode 700ms ease-out forwards;
}
.transition-overlay.diminish {
  opacity: 1;
  animation: diminish 700ms ease-out forwards;
}
@keyframes explode {
  0% { clip-path: circle(0% at 50% 50%); opacity: 1; }
  100% { clip-path: circle(160% at 50% 50%); opacity: 0; }
}
@keyframes implode {
  0% { clip-path: circle(160% at 50% 50%); opacity: 1; }
  100% { clip-path: circle(0% at 50% 50%); opacity: 0; }
}
@keyframes diminish {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.glow-diminish {
  animation: glow-diminish 1600ms ease-out forwards;
}
@keyframes glow-diminish {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.scene-fade {
  animation: scene-fade 300ms ease-out forwards;
}
@keyframes scene-fade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #ffffff 55%, rgba(255,255,255,0.85) 85%, rgba(255,255,255,0.6) 100%);
}
.seal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #ffffff 60%, rgba(255,255,255,0.7) 85%, rgba(255,255,255,0.4) 100%);
}
.seal-circle {
  width: clamp(90px, 12vw, 140px);
  height: clamp(90px, 12vw, 140px);
  border-radius: 50%;
  background: radial-gradient(circle at 28% 28%, #f7d78a, #d6a544 60%, #a8731f 100%);
  box-shadow: 0 14px 28px rgba(0,0,0,.22), inset 0 10px 14px rgba(255,255,255,.35), inset 0 -10px 16px rgba(0,0,0,.25);
}
.seal-overlay.animate .seal-circle {
  animation: pulseScale 1000ms ease-out 0ms 1, flickerGlow 1000ms ease-in-out 0ms 1;
}
.glow-ring {
  position: fixed;
  inset: 0;
  clip-path: circle(0% at 50% 50%);
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 0%, rgba(255,255,255,.9) 35%, rgba(255,255,255,.6) 65%, rgba(255,255,255,0) 100%);
}
.seal-overlay.animate .glow-ring {
  animation: ring-expand 3000ms ease-in-out forwards;
}
.glow-ring.r2 {
  animation: ring-expand 3200ms ease-in-out forwards;
  animation-delay: 400ms;
}
.glow-ring.r3 {
  animation: ring-expand 3200ms ease-in-out forwards;
  animation-delay: 800ms;
}
@keyframes ring-expand {
  0% { clip-path: circle(0% at 50% 50%); }
  100% { clip-path: circle(160% at 50% 50%); }
}
@keyframes pulseScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes flickerGlow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
  100% { filter: brightness(1); }
}
.envelope-scene {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #ffffff 65%, rgba(255,255,255,0.85) 90%, rgba(255,255,255,0.6) 100%);
}
.envelope-invite {
  position: relative;
  width: clamp(300px, 52vw, 560px);
  height: clamp(190px, 34vw, 340px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transform-style: preserve-3d;
}
.envelope-invite .flap {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 52%;
  background: linear-gradient(180deg, #fff 0%, #f3efe7 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 950ms ease-out;
}
.envelope-invite.open .flap {
  transform: rotateX(180deg) translateY(-2%);
}
.envelope-invite .seal {
  position: absolute;
  left: 50%; top: 54%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 10vw, 90px);
  height: clamp(64px, 10vw, 90px);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
}
.envelope-scene .glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 0%, rgba(255,255,255,.95) 40%, rgba(255,255,255,.7) 70%, rgba(255,255,255,0) 100%);
  animation: glow-diminish 1600ms ease-out forwards;
}
.envelope-scene.fade {
  animation: scene-fade 300ms ease-out forwards;
}
.envelope {
  position: relative;
  width: clamp(280px, 48vw, 520px);
  height: clamp(180px, 32vw, 320px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  transform-style: preserve-3d;
}
.envelope .flap {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 52%;
  background: linear-gradient(180deg, #fff 0%, #f3efe7 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 700ms ease-out;
}
.envelope.open .flap {
  transform: rotateX(180deg) translateY(-2%);
}
.photo .seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); }
.hotspot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -30%);
  width: clamp(72px, 18vw, 120px);
  height: clamp(72px, 18vw, 120px);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 10;
}
.hotspot:active { transform: translate(-50%, -30%) scale(.96); }
.ornament {
  position: absolute;
  width: 120px; height: 120px;
  opacity: .9;
}
.ornament-tl { top: 6px; left: 6px; }
.ornament-br { bottom: 6px; right: 6px; }
.ornament svg path { stroke: var(--accent-2); }
.ornament-br svg path { stroke: var(--accent-2); }
.gold-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.leaf {
  position: absolute;
  left: var(--x);
  top: -8%;
  width: clamp(6px, 1.6vw, 10px);
  height: clamp(10px, 2.4vw, 14px);
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, #f7e4b0, #d4af37 70%, #a8731f 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,.12), inset 0 1px 3px rgba(255,255,255,.45);
  opacity: .95;
  filter: brightness(1) saturate(1.1);
  will-change: transform, filter, margin-left;
  animation:
    leaf-fall var(--dur) linear var(--delay) infinite,
    leaf-sway var(--sway) ease-in-out infinite alternate,
    leaf-sparkle var(--twinkle) ease-in-out infinite;
}
.leaf::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 2px;
  height: 70%;
  background: rgba(255,255,255,.5);
  transform: translateX(-50%) rotate(8deg);
  opacity: .4;
}
@keyframes leaf-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); }
  100% { transform: translate3d(0, 105vh, 0) rotate(var(--rot)); }
}
@keyframes leaf-sway {
  0% { margin-left: -1.2vw; }
  100% { margin-left: 1.2vw; }
}
@keyframes leaf-sparkle {
  0%, 100% { filter: brightness(1) saturate(1.1); }
  50% { filter: brightness(1.3) saturate(1.2); }
}
.landing-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 3.6vw, 30px);
  margin-bottom: 28px;
  letter-spacing: .3px;
  color: #6b5a4b;
}
.envelope {
  position: relative;
  margin: 0 auto;
  width: min(500px, 90vw);
  height: min(330px, 60vw);
  background: linear-gradient(180deg, #fff 0%, #f9f5ee 100%);
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.envelope-paper {
  position: absolute;
  inset: 10% 10% 10% 10%;
  background: linear-gradient(180deg, #fff 0%, #faf6f0 100%);
  border-radius: 10px;
}
.envelope-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(180deg, #f6f1e8 0%, #e4dccd 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%, 0 0);
}
.seal {
  position: relative;
  z-index: 3;
  transform: translateY(6%);
  width: min(110px, 22vw);
  height: min(110px, 22vw);
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 28%, #f7d78a, #d6a544 60%, #a8731f 100%);
  box-shadow: 0 10px 22px var(--shadow), inset 0 10px 14px rgba(255,255,255,.35), inset 0 -10px 16px rgba(0,0,0,.25);
  cursor: pointer;
  position: relative;
}
.seal:active { transform: translateY(5%) scale(.97); }
.seal::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  box-shadow: inset 0 4px 10px rgba(255,255,255,.35), inset 0 -6px 10px rgba(0,0,0,.25);
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(60% 60% at 70% 75%, rgba(0,0,0,.18), transparent 60%);
}
.seal::after {
  content: "";
  position: absolute;
  left: 16%;
  top: 14%;
  width: 36%;
  height: 24%;
  border-radius: 40% 60%;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
  transform: rotate(-18deg);
}
.seal-inner {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  color: #5a3710;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(28px, 6vw, 42px);
  border-radius: 50%;
  text-shadow:
    0 1px 0 rgba(255,255,255,.45),
    0 -2px 2px rgba(0,0,0,.35);
}
.mono {
  position: absolute;
  line-height: 1;
}
.mono-b {
  left: 32%;
  top: 34%;
  transform: rotate(-8deg);
}
.mono-c {
  left: 48%;
  top: 36%;
  transform: rotate(8deg);
}
.invite-wrapper {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 28px 22px 40px;
}
.save {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: .2em;
  margin-top: 6px;
  color: var(--blue);
}
.brand {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 6vw, 40px);
  margin: 10px 0 8px;
}
.subtitle {
  text-align: center;
  font-size: clamp(14px, 3.2vw, 18px);
  opacity: .9;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px auto 24px;
  width: min(760px, 95vw);
}
.invite-photo .countdown.overlay {
  position: absolute;
  left: 62%;
  bottom: 47%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  margin: 0;
  width: min(420px, 85vw);
}
.invite-photo .countdown.overlay .count {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.invite-photo .countdown.overlay .value {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(16px, 3.2vw, 22px);
  color: #613112;
  background-image: linear-gradient(180deg, #49230b 0%, #614019 60%, #401604 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .02em;
  text-shadow: 0 2px 0 rgba(255,255,255,.3), 0 2px 6px rgba(0,0,0,.2);
}
.invite-photo .countdown.overlay .label {
  font-size: 13px;
  letter-spacing: .25em;
  color: #613112;
  background-image: linear-gradient(180deg, #49230b 0%, #614019 60%, #401604 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .95;
  text-shadow: 0 2px 0 rgba(255,255,255,.25), 0 2px 5px rgba(0,0,0,.18);
}

.confirm {
  width: min(900px, 95vw);
  margin: 18px auto;
  padding: 22px 18px;
}
.confirm-title {
  margin: 0 0 6px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 4.4vw, 28px);
}
.confirm-sub { text-align: center; margin: 0 0 12px; }
.confirm-note { text-align: center; margin: 10px auto 14px; font-size: clamp(25px, 5vw, 30px); color: #613112; max-width: 780px; }
.italianno, .confirm .italianno { font-family: "Italianno", cursive; }
.presence { display: flex; gap: 20px; justify-content: center; margin: 10px 0 14px; }
.group { margin: 8px 0 10px; width: min(700px, 95%); }
.group label { display: block; margin-bottom: 6px; opacity: .85; }
.group input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #e6d8bd; background: #fbf8f2; }
.names { display: grid; grid-template-columns: 1fr; gap: 8px; width: min(700px, 95%); }
.prefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.count {
  text-align: center;
  padding: 14px 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px var(--shadow);
}
.count .value {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 6.2vw, 42px);
}
.count .label {
  font-size: 12px;
  letter-spacing: .15em;
  opacity: .6;
}
.events {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: min(820px, 95vw);
  margin: 12px auto 22px;
}
@media (min-width: 720px) {
  .events { grid-template-columns: repeat(2, 1fr); }
}
.event {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px var(--shadow);
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}
.event .icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #fff 0%, #f7f1e8 100%);
  outline: 2px solid #d8d2c2;
}
.event h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 3.8vw, 22px);
}
.event .time {
  margin-top: 4px;
  font-weight: 600;
  color: var(--blue);
}
.event .actions {
  margin-top: 10px;
}
.event .actions a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  box-shadow: 0 4px 10px var(--shadow);
}
.audio {
  display: flex;
  justify-content: center;
  margin: 10px 0 8px;
}
.footer {
  text-align: center;
  font-size: 12px;
  opacity: .7;
  margin-top: 14px;
}

.rsvp {
  width: min(820px, 95vw);
  margin: 10px auto 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px var(--shadow);
  padding: 18px 16px;
  text-align: center;
}
.rsvp h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 3.8vw, 22px);
}
.deadline {
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.rsvp-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 10px 0 8px;
  text-align: left;
}
.form-row label {
  display: block;
  font-size: 13px;
  opacity: .8;
  margin-bottom: 6px;
}
.form-row input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6d8bd;
  background: #fbf8f2;
  color: var(--text);
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 14px var(--shadow);
}
.qr {
  margin-top: 14px;
}
.qr img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 6px 14px var(--shadow);
  outline: 2px solid #edd9b3;
}
.rsvp-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 720px) {
  .rsvp-items { grid-template-columns: repeat(2, 1fr); }
}
.rsvp-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 14px var(--shadow);
  padding: 12px;
}
