/* ============================================================
   SINH NHẬT TUỔI 18 — LOAN PHƯƠNG — Modern Pink Pastel Luxury
   (Biến --navy/--blue vẫn giữ tên cũ để không phải sửa toàn bộ
   file, nhưng giá trị màu đã đổi hết sang tông hồng pastel)
   ============================================================ */
:root {
  --white: #ffffff;
  --pearl: #fff5f8;
  --ink: #3b232e;
  --ink-soft: #7a5568;
  --navy: #c2427c;
  --navy-deep: #7a1f4b;
  --blue: #e0729e;
  --blue-soft: #f0a8c4;
  --blue-pale: #fbdce8;
  --gold: #b9974d;
  --gold-light: #e7d7ad;
  --line: rgba(194, 66, 124, 0.16);

  --font-serif: 'Cormorant Garamond', serif;
  --font-letter: 'Lora', 'Cormorant Garamond', serif;
  --font-script: 'Alex Brush', cursive;
  --font-script2: 'Great Vibes', cursive;
  --font-sans: 'Be Vietnam Pro', sans-serif;
  --font-head: 'Cinzel', var(--font-serif), serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --reveal-dur: 1.4s;

  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--pearl);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.script { font-family: var(--font-script2); font-weight: 400; }

/* ============ REVEAL ON SCROLL — VARIED LUXURIOUS SLOW ANIMATIONS ============ */
.reveal,
.reveal-fade-down,
.reveal-zoom,
.reveal-left,
.reveal-right,
.reveal-flip {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Trượt nhẹ từ dưới lên (Fade Up) */
.reveal {
  transform: translateY(42px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Nhẹ nhàng hạ từ trên xuống (Fade Down) */
.reveal-fade-down {
  transform: translateY(-32px);
}
.reveal-fade-down.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Phóng to mượt mà (Zoom In) */
.reveal-zoom {
  transform: scale(0.91) translateY(24px);
}
.reveal-zoom.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* 4. Trượt từ bên trái sang (Slide Left) */
.reveal-left {
  transform: translateX(-36px) translateY(12px);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* 5. Trượt từ bên phải sang (Slide Right) */
.reveal-right {
  transform: translateX(36px) translateY(12px);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* On mobile screens: use vertical-only translations for reveal-left/right to prevent horizontal scrollbar vectors */
@media (max-width: 640px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(32px);
  }
}

/* 6. Lật nhẹ 3D Hoàng Gia (Soft 3D Tilt) */
.reveal-flip {
  transform: perspective(900px) rotateX(14deg) translateY(36px);
}
.reveal-flip.is-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0);
}

/* Các khoảng hoãn nhịp nhàng cho các phần tử con */
.delay-1 { transition-delay: 0.18s; }
.delay-2 { transition-delay: 0.36s; }
.delay-3 { transition-delay: 0.54s; }
.delay-4 { transition-delay: 0.72s; }

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ============ AMBIENT LAYER — CÁNH HOA ĐÀO HỒNG BAY RƠI (Chạy ở nền dưới) ============ */
.ambient-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient-star {
  position: absolute; top: -6vh;
  background: linear-gradient(135deg, #f6d9e6 0%, #f0a8c4 55%, #e0729e 100%);
  border-radius: 100% 0 100% 0;
  opacity: .85;
  box-shadow: 0 0 6px 1px rgba(240, 168, 196, .5);
  animation: starFall linear infinite, starTwinkle ease-in-out infinite;
}
@keyframes starFall {
  0% { transform: translateY(-6vh) translateX(0) rotate(0deg); }
  100% { transform: translateY(108vh) translateX(var(--drift, 20px)) rotate(var(--spin, 320deg)); }
}
@keyframes starTwinkle {
  0%, 100% { opacity: .55; }
  50% { opacity: .95; }
}

/* ============ 1. INTRO — LUXURY SLIDING DOOR OPENING ============ */
.intro-doors {
  position: fixed; inset: 0; z-index: 1000;
  overflow: hidden;
  background: transparent;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  pointer-events: auto;
}
.intro-doors.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-doors__container {
  position: absolute; inset: 0;
  display: flex; width: 100%; height: 100%;
}

.door-panel {
  position: relative;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, #fefcf9 0%, #f7edf2 50%, #efe1ea 100%);
  transition: transform 4.5s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.7s ease 4.1s;
  box-shadow: 0 0 40px rgba(60, 15, 35, 0.25);
  will-change: transform;
  z-index: 2;
}

.door-left {
  border-right: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow: 12px 0 35px rgba(0, 0, 0, 0.16);
}

.door-right {
  border-left: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.16);
}

.intro-doors.is-opening .door-left {
  transform: translateX(-102%);
}

.intro-doors.is-opening .door-right {
  transform: translateX(102%);
}

.door-panel__surface {
  position: absolute; inset: 0;
  padding: clamp(12px, 3vw, 28px);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(248, 237, 242, 0.94) 100%);
  box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.08);
}

.door-art {
  width: 100%; height: 100%;
  max-width: 380px; max-height: 720px;
  display: flex; align-items: center; justify-content: center;
}

.door-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 4px 12px rgba(170, 124, 17, 0.16));
}

.door-handle {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 22px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}

.door-handle--left {
  right: 1px;
}

.door-handle--right {
  left: 1px;
}

.door-handle__bar {
  width: 10px; height: 110px;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff2cc 0%, #d4af37 40%, #a67910 80%, #f7ebc6 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  position: relative;
}

.door-handle__bar::before,
.door-handle__bar::after {
  content: '';
  position: absolute; left: -2px; right: -2px;
  height: 8px; border-radius: 2px;
  background: linear-gradient(90deg, #aa7c11, #f7ebc6, #aa7c11);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.door-handle__bar::before { top: 12px; }
.door-handle__bar::after { bottom: 12px; }

/* ============ MUSIC TOGGLE (Luxury Sound Wave Pulse) ============ */
.music-toggle {
  position: fixed;
  bottom: clamp(16px, 4vw, 24px);
  right: clamp(16px, 4vw, 24px);
  z-index: 990;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.2px solid rgba(194, 66, 124, 0.25);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(194, 66, 124, 0.18);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.music-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(194, 66, 124, 0.28);
}

.music-toggle:active {
  transform: scale(0.95);
}

.music-toggle__icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

/* Khi đang phát nhạc: Nút đổi tông hồng navy đậm + icon xoay mượt + vòng sóng âm box-shadow không bị tràn màn hình */
.music-toggle.is-playing {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  animation: musicPulseGlow 2.2s ease-in-out infinite;
}

.music-toggle.is-playing .music-toggle__icon {
  animation: musicIconSpin 4.5s linear infinite;
}

@keyframes musicIconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes musicPulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(194, 66, 124, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(194, 66, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 66, 124, 0); }
}

/* ============ SHARED ============ */
.section-eyebrow { font-size: 11px; letter-spacing: .32em; color: var(--blue); text-align: center; }
.section-title { font-size: clamp(34px, 8vw, 52px); text-align: center; color: var(--navy); margin: 6px 0 22px; }
.hr-line { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 18px auto; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.2px solid var(--gold); color: var(--navy); font-size: 12px; letter-spacing: .12em;
  padding: 11px 22px; border-radius: 30px; margin-top: 20px;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-fill {
  width: 100%; padding: 14px; border: none; border-radius: 30px; cursor: pointer;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: var(--white);
  font-size: 13px; letter-spacing: .1em; font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(194,66,124,.28); }
.btn-fill:disabled { opacity: .6; cursor: not-allowed; }

section { position: relative; padding: 60px 20px; max-width: 720px; margin: 0 auto; }

/* ============ 2. HERO (Phong cách thiết kế Ảnh 1) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  padding: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__img-wrap { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(60, 15, 35, 0.08) 0%, rgba(60, 15, 35, 0.22) 55%, rgba(45, 10, 25, 0.72) 100%);
}
.hero__sparks { position: absolute; inset: 0; pointer-events: none; }

/* Sparkles trang trí góc trên theo Ảnh 1 */
.hero__sparkle {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(20px, 5vw, 28px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  animation: sparkleTwinkle 2.8s ease-in-out infinite alternate;
}
.hero__sparkle--tl { top: 25%; left: 8%; }
.hero__sparkle--tr { top: 12%; right: 10%; }
@keyframes sparkleTwinkle {
  0% { opacity: 0.35; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.hero__bottom {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 20px 48px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(10.5px, 2.8vw, 13px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-bottom: 4px;
}

.hero__name {
  font-family: var(--font-script2);
  font-size: clamp(48px, 14vw, 84px);
  color: #ffffff;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 8px;
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 180px;
  margin: 2px 0 10px;
}
.hero__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 215, 173, 0.65), transparent);
}
.hero__divider-diamond {
  font-size: 8px;
  color: var(--gold-light);
  opacity: 0.9;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 4vw, 20px);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero__date-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  width: 100%;
}
.hero__date-line {
  width: 36px;
  height: 1px;
  background: rgba(231, 215, 173, 0.65);
}
.hero__date-text {
  font-family: var(--font-sans);
  font-size: clamp(13px, 3.5vw, 15px);
  letter-spacing: 0.38em;
  color: var(--gold-light);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero__scroll-arrow {
  color: rgba(255, 255, 255, 0.8);
  animation: bounceDown 2s ease-in-out infinite;
  cursor: pointer;
  margin-top: 4px;
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ============ 3. INVITE — theo phong cách ảnh mẫu 1 ============ */
.invite {
  max-width: 640px;
}
.invite__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 28px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(194, 66, 124, .1);
}
.invite__card::before {
  content: ''; position: absolute; inset: 10px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
}
.invite__swirl { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); color: var(--blue-soft); opacity: .55; }
.invite__cap { color: var(--gold); margin-top: 6px; }
.invite__label { font-size: 12px; letter-spacing: .32em; color: var(--navy); margin-top: 16px; font-weight: 600; }

.invite__guest-wrap { display: inline-block; position: relative; margin-top: 6px; margin-bottom: 12px; }
.invite__to-name { font-size: clamp(28px, 7.5vw, 42px); color: var(--gold); }
.invite__guest-underline { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-top: -4px; }

.invite__sub { font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); line-height: 1.6; margin-top: 8px; }

/* Box Ngày Giờ Địa Điểm theo Phong cách Ảnh 1 */
.invite-box {
  display: flex;
  align-items: center;
  border: none;
  margin: 30px 0;
  padding: 24px 10px;
  text-align: left;
}
.invite-box__date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  flex-shrink: 0;
}
.invite-box__num {
  /* Dùng Be Vietnam Pro — font sans-serif hỗ trợ tiếng Việt, số đều nét, không lên xuống */
  font-family: var(--font-sans);
  font-size: clamp(30px, 7vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.invite-box__divider-v {
  width: 1.5px;
  background: var(--blue);
  align-self: stretch;
  margin: 0 18px;
  opacity: 0.5;
}
.invite-box__info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invite-box__time-group { margin-bottom: 14px; }
.invite-box__time {
  /* Be Vietnam Pro: font sans hỗ trợ tiếng Việt, không lỗi nét đậm nhạt */
  font-family: var(--font-sans);
  font-size: clamp(16px, 4.2vw, 21px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.invite-box__lunar {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.invite-box__divider-h {
  height: 1px;
  background: rgba(194, 66, 124, 0.2);
  margin: 10px 0 14px;
}
.invite-box__venue-group { }
.invite-box__venue {
  font-family: var(--font-sans);
  font-size: clamp(15px, 4vw, 19px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.invite-box__hall {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-top: 4px;
}
.invite-box__address {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.5;
  font-style: italic;
}
.invite-box__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(185, 151, 77, 0.08);
  border: 1px solid rgba(185, 151, 77, 0.45);
  padding: 5px 14px;
  border-radius: 20px;
  margin-top: 10px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.invite-box__map-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.invite__closing {
  font-family: var(--font-script2);
  font-size: clamp(20px, 5vw, 26px);
  color: var(--navy);
  margin-top: 24px;
  line-height: 1.55;
}

/* ============ 4. STANDING PHOTO PARALLAX + COUNTDOWN ============ */
.standing-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  min-height: 420px;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}
@media (min-width: 641px) {
  .standing-section {
    min-height: 460px;
    max-height: 520px;
  }
}

/* Ảnh đứng yên 100% full màn hình (Fixed viewport pinning) */
.standing-section__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;
}

.standing-section__overlay {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 32px 20px;
  min-height: 420px;
  background: linear-gradient(180deg, rgba(55, 12, 30, 0.52) 0%, rgba(55, 12, 30, 0.78) 100%);
}
@media (min-width: 641px) {
  .standing-section__overlay {
    min-height: 460px;
  }
}

.standing-photo__quote-decor {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  margin-bottom: 16px;
  opacity: 0.9;
}
.standing-photo__line {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.standing-photo__diamond {
  font-size: 10px;
  color: var(--gold-light);
}

/* Câu Quote được phóng to rõ nét trên mobile */
.standing-photo__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(21px, 5.6vw, 30px);
  color: var(--white);
  max-width: 580px;
  line-height: 1.58;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.countdown-luxury {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 3.5vw, 24px);
  margin-bottom: 16px;
}
.countdown-luxury__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-luxury__num {
  font-family: var(--font-sans);
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.countdown-luxury__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  margin-top: 6px;
  font-weight: 600;
}
.countdown-luxury__sep {
  font-family: var(--font-serif);
  font-size: clamp(18px, 4.5vw, 28px);
  color: var(--gold-light);
  margin-top: 1px;
  opacity: 0.85;
}

.standing-photo__sub {
  font-size: clamp(11.5px, 2.8vw, 13px);
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-top: 4px;
}

/* ============ 5. CALENDAR (Giữ tông màu gốc hồng pastel, hẹp chiều dọc, 2026 to, khoanh trái tim) ============ */
.calendar-timeline-section {
  padding-top: 30px;
  padding-bottom: 40px;
}
.calendar-wrap { margin-bottom: 30px; text-align: center; }

.calendar__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.calendar__title-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy), transparent);
  opacity: 0.35;
}
.calendar__month-year {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: normal;
}
.calendar__month {
  font-family: var(--font-head);
  font-size: clamp(18px, 4.5vw, 22px);
  color: var(--navy);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.calendar__dot {
  font-size: 18px;
  color: var(--navy);
}
.calendar__year {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  /* Phóng to năm 2026 */
  font-size: clamp(28px, 7vw, 36px);
  color: var(--navy-deep);
  line-height: 1;
}

/* Card lịch: nền mỏng nhẹ trong suốt, khung viền luxury 2 lớp */
.calendar__card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(194, 66, 124, 0.2);
  border-radius: 4px;
  padding: 18px 14px 16px;
  max-width: 390px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(194, 66, 124, 0.06);
}
.calendar__card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(185, 151, 77, 0.35);
  border-radius: 2px;
  pointer-events: none;
}
.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
  border-bottom: 1px dashed rgba(194, 66, 124, 0.18);
  padding-bottom: 8px;
}
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 10px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  text-align: center;
}
.calendar__grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  font-weight: 400;
}
.calendar__grid .is-empty {
  height: 34px;
}
.calendar__grid .is-target {
  position: relative;
  font-weight: 700;
  color: var(--navy);
}
.calendar__grid .heart-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 44px;
  height: 40px;
  color: var(--navy);
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(194, 66, 124, 0.3));
}
.calendar__grid .num-text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* Timeline dạng đường dọc ở Center đan xen */
.timeline-center {
  position: relative;
  margin: 36px 0 60px;
  padding: 20px 0;
}
.timeline-center__line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--blue) 50%, var(--navy) 100%);
  transform: translateX(-50%);
  opacity: 0.7;
}
.timeline-center__item {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 44px;
  position: relative;
}
.timeline-center__side {
  width: 50%;
  padding: 0 36px;
}
.timeline-center__side--left { text-align: right; }
.timeline-center__side--right { text-align: left; }

.timeline-center__node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-pale);
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(185, 151, 77, 0.2);
}
/* Ẩn dot cũ khi dùng icon */
.timeline-center__dot { display: none; }
.timeline-center__time {
  font-family: var(--font-head);
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.timeline-center__title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 4.2vw, 19px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.timeline-center__desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Dresscode Swatches đè lên nhau */
.dresscode { text-align: center; }
.dresscode__swatches {
  display: flex; justify-content: center; align-items: center;
  margin-top: 20px; padding: 10px 0;
}
.dresscode__swatch {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: -4px 6px 16px rgba(194, 66, 124, 0.18);
  margin-left: -14px;
  transition: transform 0.3s var(--ease), z-index 0.3s;
  position: relative;
}
.dresscode__swatch:first-child { margin-left: 0; }
.dresscode__swatch:hover { transform: translateY(-6px) scale(1.1); z-index: 10; }

/* ============ 6. LETTER — Luxury Frame ============ */
.letter { position: relative; overflow: visible; }
.letter__swirl { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); color: var(--blue-soft); opacity: .5; }

/* Letter card với đường viền nét vẽ luxury */
.letter__card {
  position: relative;
  background: var(--white);
  border-radius: 2px;
  padding: 52px 36px 44px;
  box-shadow: 0 20px 60px rgba(194,66,124,.12), 0 2px 8px rgba(194,66,124,.06);
  border: 1px solid rgba(194,66,124,0.08);
}
/* Đường viền trong có hiệu ứng nhiều lớp */
.letter__card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
  border-radius: 1px;
}
.letter__card::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(185, 151, 77, 0.25);
  pointer-events: none;
  border-radius: 1px;
}
/* SVG nét vẽ góc trang trí */
.letter__corner {
  position: absolute;
  color: var(--gold);
  opacity: 0.55;
  width: 28px; height: 28px;
}
.letter__corner--tl { top: 20px; left: 20px; }
.letter__corner--tr { top: 20px; right: 20px; transform: scaleX(-1); }
.letter__corner--bl { bottom: 20px; left: 20px; transform: scaleY(-1); }
.letter__corner--br { bottom: 20px; right: 20px; transform: scale(-1); }

/* Nét vẽ trang trí đầu thư */
.letter__header-decor {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 24px; color: var(--gold-light); opacity: 0.8;
}
.letter__header-line { flex: 1; max-width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.letter__header-line:last-child { background: linear-gradient(90deg, var(--gold-light), transparent); }
.letter__header-icon { font-size: 14px; color: var(--gold); }

.letter__paragraph {
  font-family: var(--font-letter);
  font-size: 15.5px;
  line-height: 1.88;
  text-align: justify;
  text-align-last: left;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1;
}
.letter__sign { display: flex; flex-direction: column; align-items: flex-end; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.letter__closing { font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.letter__author { font-size: 32px; color: var(--navy); margin-top: 2px; }
/* ============ 7. BỘ ĐÔI ẢNH KỶ NIỆM (Phong cách Luxury đè trùm khung mẫu) ============ */
.dual-photos-section {
  padding: 30px 0 0;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}
.dual-photos {
  position: relative;
  width: 100%;
  padding: 24px 16px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Khung viền vàng phía sau với góc bo tròn */
.dual-photos__decor-frame {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 20px;
  right: 20px;
  border: 1.2px solid rgba(231, 215, 173, 0.85);
  border-radius: 14px;
  pointer-events: none;
  z-index: 0;
}

/* 2 Góc L vàng ở ngoài khung viền */
.dual-photos__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(185, 151, 77, 0.9);
  border-style: solid;
}
.dual-photos__corner--tl {
  top: -7px; left: -7px;
  border-width: 1.8px 0 0 1.8px;
}
.dual-photos__corner--br {
  bottom: -7px; right: -7px;
  border-width: 0 1.8px 1.8px 0;
}

/* Đốm mờ trang trí xung quanh */
.dual-photos__bokeh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(3px);
}
.dual-photos__bokeh--1 {
  top: 4px; right: 12%;
  width: 14px; height: 14px;
  background: var(--blue-soft);
  opacity: 0.6;
}
.dual-photos__bokeh--2 {
  bottom: 10px; right: 2%;
  width: 16px; height: 16px;
  background: var(--navy);
  opacity: 0.3;
}

/* Bố cục 2 ảnh đè tràn ra ngoài khung viền */
.dual-photos__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.dual-photos__card {
  position: relative;
  background: var(--white);
  padding: 4px;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), z-index 0.3s;
  cursor: zoom-in;
}
.dual-photos__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

/* Card bên trái: nghiêng âm (-5deg), đè tràn vượt khung viền bên trái */
.dual-photos__card--left {
  width: 52%;
  aspect-ratio: 3 / 4;
  transform: rotate(-5deg) translateY(-4px);
  z-index: 1;
}

/* Card bên phải: nghiêng dương (5deg), đè tràn vượt khung viền bên phải & đè lên card trái */
.dual-photos__card--right {
  width: 52%;
  aspect-ratio: 3 / 4;
  margin-left: -14%;
  transform: rotate(5deg) translateY(8px);
  z-index: 2;
}

.dual-photos__card:hover {
  z-index: 10;
  transform: scale(1.04) rotate(0deg);
  box-shadow: none;
}

/* ============ 8. ĐƯỜNG ĐẾN BỮA TIỆC (Không nền, hài hoà liền mượt) ============ */
.location-section {
  padding: 30px 16px 50px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.location-map-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(194, 66, 124, 0.25);
  box-shadow: 0 10px 30px rgba(194, 66, 124, 0.08), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
  margin: 18px 0 24px;
}
.location-map-iframe {
  display: block;
  width: 100%;
  height: 280px;
}

.location-actions {
  display: flex;
  justify-content: center;
}
.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 13px 26px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(194, 66, 124, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-location:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 66, 124, 0.32);
}

/* ============ 8. RSVP ============ */
.rsvp { text-align: center; }
.rsvp__cap { color: var(--gold); margin-bottom: 10px; }
.rsvp__form { text-align: left; margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-size: 11px; letter-spacing: .12em; color: var(--blue); margin-bottom: 6px; }
.field input, .field textarea, .select-field {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .select-field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); }
.rsvp__status { text-align: center; font-size: 13px; color: var(--navy); min-height: 18px; margin-top: 4px; }

/* ============ 9. GUESTBOOK + FOOTER (gradient đậm->nhạt) ============ */
section.guestbook { text-align: center; padding-left: 0; padding-right: 0; max-width: 100%; }
.guestbook__carousel-wrap { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0 6px; }
.guestbook__list { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px; cursor: grab; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.guestbook__list::-webkit-scrollbar { display: none; }
.guestbook__entry { flex: 0 0 220px; background: var(--white); border-radius: 14px; padding: 16px; text-align: left; box-shadow: none; border: 1px solid var(--line); }
.guestbook__entry-name { font-family: var(--font-serif); font-weight: 600; color: var(--navy); font-size: 15px; }
.guestbook__entry-msg { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.guestbook__entry-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.gb-badge { font-size: 10px; padding: 3px 8px; border-radius: 20px; }
.gb-badge--yes { background: #e3f2e6; color: #1d7a3a; }
.gb-badge--no { background: #fbe6ee; color: #a63b3b; }
.guestbook__entry-time { font-size: 10px; color: var(--ink-soft); opacity: .7; }
.guestbook__empty { font-size: 13px; color: var(--ink-soft); padding: 20px; }
.guestbook__nav { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; flex-shrink: 0; }
.guestbook__nav:hover { background: var(--navy); color: var(--white); }

.footer-wrap {
  position: relative;
  background-image: url('../assets/images/photo4.jpg');
  background-size: cover;
  background-position: center 15%;
  border-top: 1px solid rgba(185, 151, 77, 0.25);
  overflow: hidden;
  min-height: 520px;
}
@media (min-width: 641px) {
  .footer-wrap {
    min-height: 580px;
    background-position: center 20%;
  }
}

.footer-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 8, 18, 0.05) 0%, rgba(35, 8, 20, 0.35) 50%, rgba(25, 5, 14, 0.88) 100%);
  z-index: 1;
}

.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  min-height: 520px;
  box-sizing: border-box;
  padding: 240px 24px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  max-width: none;
}
@media (min-width: 641px) {
  .footer {
    min-height: 580px;
    padding: 280px 24px 54px;
  }
}

.footer__names {
  font-family: var(--font-script2);
  font-size: clamp(48px, 9vw, 68px);
  color: var(--gold-light);
  letter-spacing: 0.02em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
}

.footer__note {
  font-size: clamp(14px, 3.8vw, 17px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 480px;
  line-height: 1.5;
}

/* Thẻ Designed riêng biệt màu trắng */
.designed-bar {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-top: 1px solid rgba(194, 66, 124, 0.12);
  padding: 7px 16px;
  text-align: center;
}
.footer__designed {
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.9;
  letter-spacing: 0.04em;
  margin: 0;
}
.footer__designed a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.3s ease;
}
.footer__designed a:hover {
  opacity: 0.75;
}

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(122,31,75,.85); }
.lightbox__content { position: relative; z-index: 1; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox__img { max-width: 90vw; max-height: 78vh; border-radius: 8px; }
.lightbox__caption { color: var(--white); font-size: 13px; margin-top: 10px; }
.lightbox__close { position: absolute; top: -40px; right: 0; background: none; border: none; color: var(--white); font-size: 30px; cursor: pointer; }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  section.invite {
    padding-left: 10px;
    padding-right: 10px;
  }
  .invite__card {
    padding: 34px 12px 28px;
  }
  .invite-box {
    padding: 16px 6px;
  }
  .invite-box__date-col {
    padding: 0 10px;
  }
  .invite-box__divider-v {
    margin: 0 8px;
  }
  .calendar__card {
    max-width: calc(100vw - 28px);
    margin: 0 auto;
    padding: 16px 10px;
    box-sizing: border-box;
  }

  /* Standing photo 4:3 trên mobile */
  .standing-photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* ===== Letter mobile: tăng margin-padding viền thư ===== */
  .letter__card {
    padding: 44px 24px 34px;
  }

  /* ===== Timeline mobile: layout 1 cột, đường thẳng bên trái ===== */
  .timeline-center {
    padding: 10px 0;
  }
  /* Đường dọc dịch sang trái */
  .timeline-center__line {
    left: 17px;
    transform: translateX(-50%);
  }
  /* Mỗi item dùng grid: cột 1 = node (34px), cột 2 = nội dung */
  .timeline-center__item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 2px 14px;
    align-items: start;
    margin-bottom: 32px;
    min-height: unset;
    position: relative;
  }
  /* Node vào cột 1 */
  .timeline-center__node {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: relative;
    left: 0;
    top: 2px;
    transform: none;
    width: 34px;
    height: 34px;
    margin: 0;
  }
  /* Ẩn toàn bộ side mặc định */
  .timeline-center__side { display: none !important; }
  /* Hiện block nội dung (title + desc) ở cột 2, bên phải node */
  .timeline-center__item--left-time .timeline-center__side--right,
  .timeline-center__item--right-time .timeline-center__side--left {
    display: flex !important;
    flex-direction: column;
    text-align: left !important;
    padding: 0;
    width: 100%;
    grid-column: 2;
    grid-row: 2;
  }
  /* Ẩn span giờ bên trong */
  .timeline-center__time { display: none !important; }
  /* Giờ xuất hiện ở hàng 1 trên data-time */
  .timeline-center__item::before {
    content: attr(data-time);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    grid-column: 2;
    grid-row: 1;
    display: block;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  .timeline-center__title { font-size: 13.5px; margin-bottom: 2px; }
  .timeline-center__desc { font-size: 11.5px; }

  /* Album mobile: portrait 3:4, landscape 16:9 */
  .parallax-album__frame {
    padding: 24px 12px 48px;
    gap: 10px;
  }
  .parallax-album__row { gap: 8px; }
  .parallax-album__item--landscape { aspect-ratio: 16 / 9; }
  .parallax-album__item--portrait { aspect-ratio: 3 / 4; }
}

@media (min-width: 760px) {
  section { padding: 90px 20px; }
  .hero { min-height: 100vh; }
}
