/* =========================================================
   Liquid Glass — thiệp cưới
   Bảng màu lấy theo thiệp gốc: hồng đất #d25f65 / #b54b51 / #f5c4c8
   ========================================================= */
:root {
  --rose: #d25f65;
  --rose-deep: #b54b51;
  --rose-soft: #f5c4c8;
  --ink: #4a3236;
  --ink-soft: #7b5f62;
  --cream: #fdf6f3;
  --white: #fff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Liquid Glass */
  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .65);
  --glass-blur: saturate(180%) blur(22px);
  --glass-shadow: 0 18px 50px rgba(120, 60, 64, .16), 0 2px 8px rgba(120, 60, 64, .06);
  --glass-specular: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(255, 255, 255, .28);
  --radius: 28px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ---------- Lớp nền ---------- */
.backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--cream); }
.backdrop__img {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  filter: blur(30px) saturate(125%);
  transform: scale(1.14);
  opacity: .72;
}
.backdrop__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .25), transparent 60%),
    linear-gradient(180deg, rgba(253, 246, 243, .62), rgba(253, 246, 243, .8));
}
.backdrop__blob {
  position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%;
  filter: blur(70px); opacity: .5;
  animation: drift 26s ease-in-out infinite alternate;
}
.backdrop__blob--a { background: rgba(245, 196, 200, .85); top: -12vmax; left: -10vmax; }
.backdrop__blob--b { background: rgba(210, 95, 101, .32); bottom: -16vmax; right: -12vmax; animation-delay: -12s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vmax, 3vmax, 0) scale(1.12); }
}

/* ---------- Tấm kính ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), var(--glass-specular);
}
/* Vệt sáng đặc trưng của Liquid Glass */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, 0) 60%);
  mix-blend-mode: screen;
}
.glass--pill { border-radius: 999px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .88); }
}

/* ---------- Thanh điều hướng ---------- */
.nav {
  position: fixed; z-index: 50;
  top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100vw - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .6rem .5rem 1.4rem;
  transition: box-shadow .4s ease, background .4s ease;
}
.nav__brand {
  font-family: var(--serif); font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 500;
  letter-spacing: .04em; color: var(--rose-deep); text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none;
  font-size: .78rem; font-weight: 400; letter-spacing: .04em;
  transition: background .25s ease, color .25s ease;
}
.nav__links a:hover { background: rgba(255, 255, 255, .7); color: var(--rose-deep); }
.nav__cta { background: var(--rose); color: #fff !important; box-shadow: 0 6px 18px rgba(210, 95, 101, .35); }
.nav__cta:hover { background: var(--rose-deep) !important; }
.nav__toggle {
  display: none; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border);
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; color: var(--rose-deep); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  padding: 7.5rem 1.25rem 5rem;
}
/* Ảnh cưới thật làm nền hero — kính nổi bên trên mới "liquid" */
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(74, 50, 54, .42) 0%, rgba(74, 50, 54, .18) 32%, rgba(74, 50, 54, .35) 68%, rgba(253, 246, 243, .96) 100%),
    radial-gradient(75% 55% at 50% 45%, rgba(0, 0, 0, .18), transparent 70%);
}
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.12); } }

/* Chữ trên nền ảnh */
.hero--photo .hero__names { color: #fff; text-shadow: 0 2px 26px rgba(48, 28, 31, .45); }
.hero--photo .hero__names .amp { color: var(--rose-soft); }
.hero--photo .hero__kicker { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(48, 28, 31, .5); }
.hero--photo .hero__venue { color: rgba(255, 255, 255, .95); text-shadow: 0 1px 12px rgba(48, 28, 31, .5); }
.hero--photo .hero__meta { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero--photo .hero__meta b { color: #fff; }
.hero--photo .hero__scroll { border-color: rgba(255, 255, 255, .7); }
.hero--photo .hero__scroll span { background: #fff; }
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__kicker {
  font-size: .72rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--rose); margin: 0 0 1.6rem;
}
.hero__names {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: 1.06; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1em .35em;
  text-shadow: 0 2px 30px rgba(255, 255, 255, .6);
}
.amp { font-family: var(--serif); font-style: italic; color: var(--rose); }
.hero__names .amp { font-size: .62em; }
.amp--lg { font-size: 2.2rem; }
.hero__meta {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem;
  margin: 2rem 0 .9rem; padding: .7rem 1.6rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__meta b { color: var(--rose-deep); font-weight: 500; letter-spacing: .12em; }
.hero__venue { margin: 0 0 2rem; color: var(--ink-soft); font-size: .95rem; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(210, 95, 101, .5); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--rose); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: .2; } }

/* ---------- Bố cục ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2.5rem); position: relative; }
.wrap { max-width: 1060px; margin: 0 auto; }
.wrap--narrow { max-width: 680px; }
.eyebrow {
  text-align: center; font-size: .7rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--rose); margin: 0 0 .7rem;
}
.heading {
  text-align: center; font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 2.2rem; line-height: 1.2;
}
.heading::after {
  content: "❦"; display: block; color: var(--rose-soft); font-size: 1.1rem; margin-top: .6rem;
}
.subheading { text-align: center; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 3rem 0 1.4rem; }
.lede { text-align: center; max-width: 620px; margin: 0 auto 2.4rem; color: var(--ink-soft); }
.empty { text-align: center; color: var(--ink-soft); font-style: italic; padding: 1.6rem; }

/* ---------- Nút ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--rose), var(--rose-deep)); color: #fff;
  font-family: var(--sans); font-size: .82rem; font-weight: 400; letter-spacing: .12em;
  padding: .9rem 2.2rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(210, 95, 101, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(210, 95, 101, .4); filter: saturate(115%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--glass {
  background: var(--glass-bg-strong); color: var(--rose-deep);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-specular);
}
.btn--glass:hover { color: var(--rose-deep); background: rgba(255, 255, 255, .85); }
.btn--sm { padding: .6rem 1.5rem; font-size: .76rem; }

/* ---------- Album ---------- */
.gallery { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery__item { margin: 0; overflow: hidden; padding: 8px; }
.gallery__item img {
  aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 20px; cursor: zoom-in;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { padding: .6rem .4rem .2rem; font-size: .82rem; color: var(--ink-soft); text-align: center; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 2rem;
  background: rgba(74, 50, 54, .55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: min(1000px, 92vw); border-radius: 22px; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 46px; height: 46px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .5);
  color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ---------- Gia đình hai bên ---------- */
.families { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 1.6rem; }
.family { padding: 2rem 1.6rem; text-align: center; }
.family__side { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); margin: 0 0 1rem; }
.family__title { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.family__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: .1rem 0; color: var(--ink); }
.family__address { margin: .9rem 0 0; font-size: .85rem; color: var(--ink-soft); }

.announce { padding: 2.6rem 1.6rem; text-align: center; }
.announce__lead { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); margin: 0 0 .5rem; }
.announce__sub { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 1.8rem; text-transform: uppercase; letter-spacing: .06em; }
.announce__couple { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.4rem; }
.announce__name { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 500; margin: 0; color: var(--ink); }
.announce__role { margin: .2rem 0 0; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }

/* ---------- Thời gian tiệc cưới ---------- */
.when { padding: 2.6rem 1.6rem; text-align: center; }
.when__time { font-family: var(--serif); font-size: clamp(3rem, 12vw, 5rem); line-height: 1; margin: 0; color: var(--rose-deep); }
.when__date {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem;
  margin: 1.2rem 0 .4rem; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}
.when__date b { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.when__lunar { margin: 0; font-style: italic; color: var(--ink-soft); font-size: .9rem; }
.when__label { margin: 2rem 0 .8rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); }

.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 0 0 2rem; }
.countdown__cell {
  min-width: 78px; padding: .8rem .6rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.countdown b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--rose-deep); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Lịch tháng ---------- */
.cal { max-width: 380px; margin: 0 auto 2rem; }
.cal__title { font-family: var(--serif); font-size: 1.2rem; color: var(--rose-deep); margin: 0 0 .8rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__grid--head span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); padding-bottom: .3rem; }
.cal__day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  font-size: .82rem; color: var(--ink-soft);
}
.cal__day--empty { opacity: 0; }
.cal__day--wedding {
  color: #fff; font-weight: 500;
  background: linear-gradient(180deg, var(--rose), var(--rose-deep));
  box-shadow: 0 6px 18px rgba(210, 95, 101, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }

/* ---------- Địa điểm & biểu mẫu ---------- */
.venue { padding: 2rem 1.6rem; text-align: center; margin-bottom: 1.4rem; }
.venue__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin: 0 0 .4rem; }
.venue__address { margin: 0 0 1.2rem; color: var(--ink-soft); }

.form { padding: clamp(1.4rem, 4vw, 2.2rem); }
.form__note { text-align: center; margin: 0 0 1.4rem; font-size: .85rem; color: var(--ink-soft); }
.form__grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; font-weight: 300; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 14px; padding: .8rem 1rem;
  background: rgba(255, 255, 255, .6); width: 100%;
  box-shadow: inset 0 1px 2px rgba(120, 60, 64, .06);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--rose-soft); background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 4px rgba(245, 196, 200, .4);
}
.field textarea { resize: vertical; }
.field ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }
.field ul label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; font-size: .92rem; }
.field input[type="radio"] { accent-color: var(--rose); }
.field__help, .field__error { font-size: .76rem; color: var(--ink-soft); }
.field__error { color: #b3453b; }
.form__error { background: rgba(255, 235, 233, .85); color: #b3453b; padding: .8rem 1rem; border-radius: 14px; margin-bottom: 1rem; }
.form .btn { margin-top: 1.6rem; }
.form--inline { max-width: 620px; margin: 0 auto 2.4rem; }
.form--inline .field + .field { margin-top: 1rem; }

/* ---------- Sổ lưu bút ---------- */
.wishes { columns: 3 250px; column-gap: 1.1rem; }
.wish { break-inside: avoid; margin: 0 0 1.1rem; padding: 1.5rem 1.6rem; }
.wish p { margin: 0 0 .9rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink); }
.wish cite { font-style: normal; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); display: flex; justify-content: space-between; gap: 1rem; }
.wish cite span { color: var(--ink-soft); letter-spacing: 0; text-transform: none; }

/* ---------- Hộp quà mừng ---------- */
.gifts { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: 760px; margin: 0 auto; }
.gift { padding: 1.8rem 1.4rem; text-align: center; }
.gift__label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin: 0 0 1.1rem; }
.gift__qr {
  width: 172px; height: 172px; margin: 0 auto 1rem; padding: 10px;
  background: #fff; border-radius: 20px; box-shadow: 0 10px 26px rgba(120, 60, 64, .16);
}
.gift__qr img { width: 100%; height: 100%; object-fit: contain; }
.gift__bank { margin: 0; font-size: .8rem; letter-spacing: .1em; color: var(--rose-deep); }
.gift__account { margin: .2rem 0; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 1.05rem; color: var(--ink); }
.gift__owner { margin: 0 0 1.1rem; font-weight: 500; font-size: .92rem; }

/* ---------- Chuyện chúng mình ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--rose-soft); }
.timeline__item { position: relative; display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 0 0 2.2rem 3rem; }
.timeline__dot { position: absolute; left: 4px; top: 14px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); }
.timeline__body { padding: 1.4rem 1.6rem; }
.timeline__date { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin: 0 0 .25rem; }
.timeline__body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 .4rem; }
.timeline__body p { margin: 0; color: var(--ink-soft); }
.timeline__img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--glass-shadow); }
@media (min-width: 720px) { .timeline__item { grid-template-columns: 1fr 240px; align-items: start; gap: 1.6rem; } }

/* ---------- Chương trình ---------- */
.schedule { list-style: none; margin: 0 auto; padding: 1.4rem 1.6rem; max-width: 640px; }
.schedule li { display: grid; grid-template-columns: 34px 70px 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid rgba(245, 196, 200, .5); }
.schedule li:last-child { border-bottom: 0; }
.schedule__icon { font-size: 1.15rem; }
.schedule__time { font-size: .8rem; letter-spacing: .08em; color: var(--rose); padding-top: .2rem; }
.schedule__body strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.schedule__body em { font-style: normal; font-size: .8rem; color: var(--rose-deep); }
.schedule__body p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 540px) { .schedule li { grid-template-columns: 28px 1fr; } .schedule__time { grid-column: 2; padding-top: 0; } .schedule__body { grid-column: 2; } }

/* ---------- Thiệp mời riêng ---------- */
.section--tight { padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: 0; }
.invite { padding: 2.6rem 1.8rem; text-align: center; }
.invite__kicker { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); margin: 0 0 .6rem; }
.invite__name {
  font-family: var(--serif); font-size: clamp(2rem, 7vw, 3.1rem); font-weight: 500;
  line-height: 1.15; margin: 0 0 .6rem; color: var(--ink);
}
.invite__line { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink-soft); margin: 0 0 1rem; }
.invite__note {
  margin: 0 auto 1.2rem; max-width: 46ch; padding: .9rem 1.2rem;
  background: rgba(255, 255, 255, .55); border-radius: var(--radius-sm);
  font-style: italic; color: var(--ink);
}
.invite__meta { margin: 0 0 1.4rem; font-size: .88rem; letter-spacing: .06em; color: var(--ink-soft); }
.invite__status {
  display: inline-block; margin: 0 0 1.4rem; padding: .5rem 1.3rem; border-radius: 999px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.invite__status--yes { background: rgba(215, 238, 220, .8); color: #3f6b46; }
.invite__status--no { background: rgba(255, 235, 233, .85); color: #b3453b; }

/* Ô "số người" / "lý do" chỉ hiện theo lựa chọn (main.js bật/tắt) */
.field[hidden] { display: none; }

/* ---------- Chân trang ---------- */
.footer { padding: 2rem clamp(1rem, 4vw, 2.5rem) 3.5rem; }
.footer__card { max-width: 680px; margin: 0 auto; padding: 2.6rem 1.8rem; text-align: center; }
.footer__names { font-family: var(--serif); font-size: 2.1rem; margin: 0 0 .8rem; color: var(--ink); }
.footer__note { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--rose-deep); margin: 0 0 1.2rem; }
.footer__meta, .footer p { font-size: .86rem; color: var(--ink-soft); margin: .25rem 0; }
.footer a { color: var(--rose); }
.footer__tag { letter-spacing: .18em; text-transform: uppercase; font-size: .72rem !important; color: var(--rose) !important; }

/* ---------- Thông báo ---------- */
.toasts { position: fixed; top: calc(80px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 80; display: grid; gap: .6rem; width: min(520px, 92vw); }
.toast { padding: .9rem 1.3rem; font-size: .92rem; text-align: center; animation: drop .45s cubic-bezier(.2, .8, .2, 1); }
.toast--success { color: #3f6b46; }
.toast--error { color: #b3453b; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__scroll span, .cal__day--wedding, .backdrop__blob { animation: none; }
}

/* ---------- Di động ---------- */
@media (max-width: 860px) {
  .nav { padding: .5rem .6rem .5rem 1.1rem; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__links {
    position: absolute; top: calc(100% + 10px); right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem; min-width: 190px;
    background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); border-radius: var(--radius); padding: .6rem;
    box-shadow: var(--glass-shadow); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { text-align: center; }
  .wishes { columns: 1; }
  .announce__couple { flex-direction: column; gap: .8rem; }
}
