:root{
  --bg: #f3efe7;
  --bg-soft: #ece6dc;
  --text: #2e2925;
  --text-soft: #5c554d;
  --white: #f8f5ef;
  --gold: #d5be86;
  --gold-dark: #bf930d;
  --gold-soft: rgba(191, 147, 13, 0.14);
  --line: rgba(80, 70, 58, 0.12);
  --line-strong: rgba(191, 147, 13, 0.42);
  --shadow: 0 18px 40px rgba(45, 35, 25, 0.08);
  --shadow-soft: 0 10px 26px rgba(45, 35, 25, 0.05);
  --max: 1180px;
  --header-h: 92px;
  --bg-shift: 0;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  position: relative;
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.18), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(243, 239, 231, 0.96);
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body.gate-is-open{
  overflow: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: -4%;
  background:
    linear-gradient(rgba(243,239,231,0.58), rgba(243,239,231,0.58)),
    url("images/gallery/photo39.jpeg") center center / cover no-repeat;
  opacity: 0.42;
  filter: blur(5px);
  transform: translateY(calc(var(--bg-shift) * 1px)) scale(1.05);
  transform-origin: center;
  pointer-events: none;
  z-index: -2;
  will-change: transform;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(rgba(255,255,255,0.14) 0.8px, transparent 1px),
    radial-gradient(rgba(120,102,74,0.035) 0.8px, transparent 1px);
  background-size: 18px 18px, 27px 27px;
  background-position: 0 0, 8px 11px;
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

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

a{
  color: inherit;
}

button{
  font: inherit;
}

section[id]{
  scroll-margin-top: 126px;
}

.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(196,168,120,0.9), rgba(191,147,13,0.95));
  box-shadow: 0 1px 12px rgba(191, 147, 13, 0.34);
  transition: width 0.12s linear;
}

/* ACCESS GATE */
.access-gate{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.05), rgba(12, 8, 4, 0.82)),
    linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.28));
  backdrop-filter: blur(5px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.access-gate.is-unlocked{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.access-card{
  width: min(500px, 100%);
  background: rgba(30,22,15,0.42);
  border: 1px solid rgba(213,190,134,0.24);
  border-radius: 26px;
  padding: 36px 28px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.24);
  color: var(--white);
  text-align: center;
  backdrop-filter: blur(9px);
  position: relative;
}

.access-card::before{
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(213,190,134,0.12);
  border-radius: 18px;
  pointer-events: none;
}

.access-kicker{
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #d8caa1;
}

.access-lang-switcher{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.access-lang-switcher button{
  appearance: none;
  border: 1px solid rgba(213,190,134,0.20);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.access-lang-switcher button:hover{
  background: rgba(255,255,255,0.16);
  border-color: rgba(213,190,134,0.34);
  transform: translateY(-1px);
}

.access-lang-switcher button.is-active{
  background: rgba(191,147,13,0.28);
  border-color: rgba(213,190,134,0.52);
  color: var(--white);
}

.access-guest-line{
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.88);
}

.access-copy{
  margin: 0 auto 22px;
  max-width: 390px;
  font-size: 1.18rem;
  color: rgba(248,245,239,0.88);
}

.access-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.access-form input{
  width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(213,190,134,0.22);
  background: rgba(255,255,255,0.10);
  color: var(--white);
  padding: 14px 16px;
  outline: none;
  text-align: center;
  backdrop-filter: blur(4px);
}

.access-form input::placeholder{
  color: rgba(255,255,255,0.62);
}

.access-form button{
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  cursor: pointer;
  background: rgba(191,147,13,0.88);
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
  transition: transform 0.2s ease, background 0.2s ease;
}

.access-form button:hover{
  transform: translateY(-1px);
  background: rgba(191,147,13,0.95);
}

.access-error{
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #ffd9d9;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

/* HEADER */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 239, 231, 0.80);
  border-bottom: 1px solid rgba(80, 70, 58, 0.08);
}

.header-shell{
  width: min(var(--max), calc(100% - 48px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.header-spacer{
  width: 100%;
}

.main-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a{
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
  white-space: nowrap;
}

.main-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold-dark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after{
  transform: scaleX(1);
}

.lang-switcher{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switcher button{
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(3px);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.91rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher button:hover{
  background: rgba(255,255,255,0.45);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.lang-switcher button.is-active{
  background: rgba(191, 147, 13, 0.14);
  border-color: rgba(191, 147, 13, 0.44);
}

.flag{
  font-size: 0.98rem;
  line-height: 1;
}

/* HERO */
.hero{
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: calc(78vh - 24px);
  display: grid;
  place-items: center;
  padding: 30px 0 58px;
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/hero.jpeg") center center / cover no-repeat;
  filter: blur(6px);
  opacity: 0.28;
  transform: scale(1.06);
  z-index: 0;
  pointer-events: none;
}

.hero-card{
  position: relative;
  z-index: 1;
  width: min(1020px, 100%);
  min-height: 620px;
  background: rgba(191,147,13,0.18);
  box-shadow: 0 25px 70px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px 88px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(191,147,13,0.35);
  backdrop-filter: blur(6px);
}

.hero-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
}

.hero-card::before{
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  z-index: 1;
  pointer-events: none;
}

.hero-card-signature{
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
  font-family: "Italianno", cursive;
  font-size: clamp(3.4rem, 4.8vw, 5.15rem);
  color: rgba(250, 246, 238, 0.98);
  line-height: 0.92;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.08),
    0 4px 14px rgba(0,0,0,0.10);
  animation: fadeFloatUp 1s ease both;
}

.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 760px;
  margin-top: 82px;
}

.hero-content > *{
  opacity: 0;
  animation: fadeFloatUp 0.95s ease forwards;
}

.hero-content > *:nth-child(1){ animation-delay: 0.18s; }
.hero-content > *:nth-child(2){ animation-delay: 0.34s; }
.hero-content > *:nth-child(3){ animation-delay: 0.50s; }
.hero-content > *:nth-child(4){ animation-delay: 0.66s; }
.hero-content > *:nth-child(5){ animation-delay: 0.82s; }

.hero-date,
.hero-location{
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  font-weight: 500;
  color: rgba(249, 245, 236, 0.95);
  text-shadow:
    0 1px 3px rgba(0,0,0,0.08),
    0 3px 10px rgba(0,0,0,0.08);
}

.hero-location{
  margin-bottom: 28px;
}

.hero-quote{
  margin: 0 auto 28px;
  max-width: 580px;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: rgba(249, 245, 236, 0.95);
  text-shadow:
    0 1px 3px rgba(0,0,0,0.08),
    0 3px 10px rgba(0,0,0,0.08);
}

.hero-family{
  margin: 0 auto 34px;
  max-width: 760px;
  padding-top: 6px;
}

.hero-family-kicker{
  display: inline-block;
  margin: 0 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,241,230,0.88);
}

.hero-parents-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-parent-group{
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}

.hero-parent-role{
  display: block;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,241,230,0.80);
}

.hero-parent-names{
  display: block;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.45;
  color: rgba(250,246,238,0.96);
  font-style: italic;
}

.btn-primary,
form button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(191, 147, 13, 0.70);
  color: var(--white);
  padding: 15px 30px;
  min-width: 230px;
  font-size: 1.18rem;
  font-weight: 500;
  font-family: "Cormorant Garamond", serif;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover,
form button:hover{
  transform: translateY(-1px);
  background: rgba(191, 147, 13, 0.82);
  border-color: rgba(255,255,255,0.50);
}

/* GLOBAL SECTIONS */
.section-inner{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-heading{
  text-align: center;
  margin-bottom: 30px;
}

.section-kicker{
  display: inline-block;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.countdown-section,
.details,
.schedule,
.dresscode,
.travel,
.gallery,
.gift,
.rsvp,
.guest-experience{
  padding: 64px 0;
}

.details h2,
.schedule h2,
.dresscode h2,
.travel h2,
.gallery h2,
.gift h2,
.rsvp h2,
.countdown-section h2{
  margin: 0;
  text-align: center;
  font-size: clamp(2.3rem, 3.3vw, 3rem);
  font-weight: 600;
}

.premium-card,
.premium-map-card{
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(80, 70, 58, 0.10);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  backdrop-filter: blur(8px);
}

.premium-card::before,
.premium-map-card::before{
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(191, 147, 13, 0.16);
  border-radius: 18px;
  pointer-events: none;
}

/* GUEST EXPERIENCE */
.guest-card,
.guest-fallback{
  padding: 30px 26px;
}

.guest-card{
  padding: 28px 24px;
}

.guest-card-head{
  text-align: center;
  margin-bottom: 14px;
}

.guest-honor-badge{
  display: block;
  margin: 0 auto 12px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.guest-card-head h2,
.guest-fallback h2{
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.guest-intro,
.guest-message,
.guest-fallback p{
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  font-size: 1.22rem;
  color: var(--text-soft);
}

.guest-message{
  margin: 8px auto 0;
  max-width: 900px;
  text-align: center;
  line-height: 1.6;
  font-size: 1.22rem;
  color: var(--text-soft);
}

.guest-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 18px;
  align-items: stretch;
}

.guest-grid.no-hotel{
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
}

.guest-stat{
  text-align: center;
  padding: 20px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(191, 147, 13, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.guest-stat[hidden]{
  display: none !important;
}

.guest-label{
  display: block;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.guest-stat strong{
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}

#guestHotelStat{
  background: linear-gradient(180deg, rgba(191, 147, 13, 0.11), rgba(191, 147, 13, 0.07));
  border: 1px solid rgba(191, 147, 13, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

#guestHotelStat .guest-label{
  color: var(--gold-dark);
}

#guestHotelStat strong{
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.guest-hotel-note{
  display: block;
  max-width: 220px;
  margin: 10px auto 0;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

/* COUNTDOWN */
.countdown-card{
  padding: 36px 28px;
}

.countdown-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.countdown-item{
  text-align: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(191, 147, 13, 0.14);
  border-radius: 18px;
  padding: 20px 14px;
}

.countdown-item span{
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
  font-weight: 700;
  color: var(--gold-dark);
}

.countdown-item small{
  display: block;
  margin-top: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.countdown-done{
  text-align: center;
  padding: 14px 10px 4px;
}

.countdown-done-kicker{
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-size: 0.82rem;
}

.countdown-done h3{
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.countdown-done p{
  margin: 0;
  font-size: 1.35rem;
}

/* DETAILS */
.details-grid{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 38px;
  align-items: start;
}

.details-copy{
  padding: 34px 28px;
  text-align: center;
}

.details-line{
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.mini-info-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0 20px;
}

.mini-info-item{
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(191, 147, 13, 0.12);
}

.mini-label{
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.mini-info-item strong{
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
}

.details-address{
  margin: 26px 0 24px;
  font-size: 1.55rem;
  line-height: 1.35;
}

.map-link{
  display: inline-block;
  color: var(--text);
  font-size: 1.35rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 41, 37, 0.22);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.map-link:hover{
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.details-map{
  padding: 18px;
}

.map-frame{
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: inset 0 0 0 1px rgba(191, 147, 13, 0.10);
}

.details-map iframe{
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* SCHEDULE */
.timeline{
  padding: 20px;
}

.timeline-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 14px;
  border-radius: 18px;
}

.timeline-item + .timeline-item{
  border-top: 1px solid rgba(80, 70, 58, 0.10);
}

.timeline-time{
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-top: 8px;
}

.timeline-copy h3{
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.timeline-copy p{
  margin: 0;
  font-size: 1.28rem;
  color: var(--text-soft);
}

.allergy-note{
  margin-top: 22px;
  padding: 24px;
  text-align: center;
}

.allergy-note h3{
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.allergy-note p{
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-soft);
}

/* SHARED CARDS */
.gift-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.travel-intro,
.gallery-intro,
.travel-practical,
.gift-main,
.gift-option{
  padding: 30px 26px;
}

.travel-intro p,
.gallery-intro p,
.gift-main p,
.gift-option p{
  margin: 0;
  font-size: 1.28rem;
  color: var(--text-soft);
}

/* DRESS CODE */
.dresscode-panel{
  padding: 34px 30px;
}

.dresscode-panel-copy{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
}

.dresscode-panel-copy h3{
  margin: 0 0 10px;
  font-size: 1.95rem;
}

.dresscode-panel-copy p{
  margin: 0;
  font-size: 1.28rem;
  color: var(--text-soft);
}

.dresscode-panel-palette{
  max-width: 900px;
  margin: 0 auto;
}

.dresscode-panel-palette h3{
  margin: 0 0 16px;
  font-size: 1.55rem;
  text-align: center;
}

.palette-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.color-chip{
  min-height: 120px;
  border-radius: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 8px 20px rgba(20, 16, 14, 0.08);
  position: relative;
  overflow: hidden;
}

.color-chip::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,0,0,0.16)),
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 2px,
      transparent 2px,
      transparent 9px
    );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.color-chip::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.2px),
    radial-gradient(rgba(0,0,0,0.18) 1.1px, transparent 1.3px),
    repeating-linear-gradient(
      35deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 3px,
      rgba(0,0,0,0.04) 3px,
      rgba(0,0,0,0.04) 7px
    );
  background-size: 22px 22px, 28px 28px, 100% 100%;
  background-position: 0 0, 11px 13px, 0 0;
  opacity: 0.34;
  pointer-events: none;
}

.color-chip span{
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.14);
  color: #f5f2ed;
  padding: 7px 10px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.16);
}

.chip-midnight{ background: linear-gradient(145deg, #1f2533, #101722); }
.chip-charcoal{ background: linear-gradient(145deg, #494b55, #23252d); }
.chip-plum{ background: linear-gradient(145deg, #593450, #2b1a29); }
.chip-jade{ background: linear-gradient(145deg, #6f8f8a, #48635f); }

/* TRAVEL */
.hotel-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.hotel-card{
  padding: 28px 22px;
  text-align: left;
}

.hotel-card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hotel-card h3{
  margin: 0;
  font-size: 1.7rem;
}

.hotel-badge{
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  background: rgba(191, 147, 13, 0.10);
  border: 1px solid rgba(191, 147, 13, 0.18);
  padding: 7px 10px;
  border-radius: 999px;
}

.hotel-address{
  margin: 0 0 10px;
  font-size: 1.06rem;
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
}

.hotel-card p{
  margin: 0;
  font-size: 1.18rem;
  color: var(--text-soft);
}

.hotel-link{
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(191, 147, 13, 0.34);
  padding-bottom: 3px;
}

.travel-practical{
  margin-top: 22px;
}

.travel-practical h3{
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.travel-tips{
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.travel-tips li{
  margin-bottom: 10px;
  font-size: 1.18rem;
}

/* GALLERY */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.gallery-item{
  padding: 0;
  border: 0;
  background: transparent;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img{
  transform: scale(1.03);
  filter: brightness(1.03);
}

.gallery-item-hidden{
  display: none;
}

.gallery-actions{
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery-more-btn{
  appearance: none;
  border: 1px solid rgba(191, 147, 13, 0.28);
  background: rgba(191, 147, 13, 0.10);
  color: var(--text);
  padding: 13px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-more-btn:hover{
  transform: translateY(-1px);
  background: rgba(191, 147, 13, 0.18);
}

/* GIFT */
.gift-main{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gift-lead{
  font-size: 1.55rem !important;
  line-height: 1.5;
  text-align: center;
  color: var(--text) !important;
  margin-bottom: 22px !important;
}

.gift-copy{
  font-size: 1.24rem !important;
  line-height: 1.7;
  text-align: center;
}

.gift-option{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.gift-option h3{
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.gift-option p{
  line-height: 1.65;
}

.gift-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.gift-btn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(191, 147, 13, 0.86);
  color: var(--white);
  border: 1px solid rgba(191, 147, 13, 0.36);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gift-btn:hover{
  transform: translateY(-1px);
  background: rgba(191, 147, 13, 0.96);
}

.gift-btn-secondary{
  background: rgba(255,255,255,0.40);
  color: var(--text);
  border: 1px solid rgba(80, 70, 58, 0.12);
}

.gift-btn-secondary:hover{
  background: rgba(255,255,255,0.58);
}

/* GIFT MODAL */
.gift-modal{
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gift-modal.is-visible{
  display: flex;
}

.gift-modal-backdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.10), rgba(18, 12, 6, 0.68));
  backdrop-filter: blur(6px);
}

.gift-modal-card{
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 34px 28px 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(191, 147, 13, 0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gift-modal-card::before{
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(191, 147, 13, 0.14);
  border-radius: 20px;
  pointer-events: none;
}

.gift-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gift-modal-close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.28);
}

.gift-modal-kicker{
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.gift-modal-card h3{
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: var(--text);
}

.gift-modal-links{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 2px 4px 4px;
  overflow-y: auto;
  scrollbar-color: rgba(191, 147, 13, 0.46) rgba(255,255,255,0.18);
}

.gift-modal-links a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(80, 70, 58, 0.12);
  color: var(--text);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.gift-modal-links a::after{
  content: attr(data-open-label);
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.gift-modal-links a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.52);
  border-color: rgba(191, 147, 13, 0.24);
}

body.gift-modal-open{
  overflow: hidden;
}

/* RSVP */
.rsvp-inner{
  max-width: 620px;
}

.rsvp-text{
  text-align: center;
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.rsvp-guest-note{
  margin: 0 0 20px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input,
select,
textarea{
  width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(65, 58, 51, 0.18);
  background: rgba(255,255,255,0.34);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(4px);
}

input:focus,
select:focus,
textarea:focus{
  border-color: rgba(191, 147, 13, 0.48);
  background: rgba(255,255,255,0.50);
  box-shadow: 0 0 0 4px rgba(191, 147, 13, 0.08);
}

input::placeholder,
textarea::placeholder{
  color: #7d7368;
}

textarea{
  resize: vertical;
  min-height: 120px;
}

input.is-locked{
  background: rgba(245,239,226,0.55);
  border-color: rgba(191,147,13,0.28);
  color: var(--text-soft);
  cursor: not-allowed;
}

form button{
  width: 100%;
  cursor: pointer;
  color: var(--white);
  border-color: rgba(191, 147, 13, 0.28);
  background: rgba(191, 147, 13, 0.86);
}

form button:hover{
  background: rgba(191, 147, 13, 0.96);
  border-color: rgba(191, 147, 13, 0.46);
}

.success-message{
  margin-top: 18px;
  text-align: center;
  font-size: 1.2rem;
  min-height: 1.5em;
}

/* FOOTER */
.site-footer{
  padding: 36px 24px 54px;
  text-align: center;
  border-top: 1px solid rgba(80, 70, 58, 0.08);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}

.footer-inner{
  width: min(760px, calc(100% - 20px));
  margin: 0 auto;
}

.footer-line{
  margin: 0 0 8px;
  font-size: 2rem;
}

.footer-subline{
  margin: 0 0 18px;
  font-size: 1.18rem;
  color: var(--text-soft);
}

.footer-nav{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a{
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* OVERLAY */
.wedding-overlay{
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.16), rgba(20,12,4,0.82));
  overflow: hidden;
}

.wedding-overlay.is-visible{
  display: grid;
}

#fireworksCanvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wedding-overlay-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 28px;
}

.overlay-kicker{
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wedding-overlay-content h2{
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
}

.wedding-overlay-content p{
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

/* RSVP MODAL */
.rsvp-modal{
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rsvp-modal.is-visible{
  display: flex;
}

.rsvp-modal-backdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.10), rgba(18, 12, 6, 0.68));
  backdrop-filter: blur(6px);
}

.rsvp-modal-card{
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: 34px 28px 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(191, 147, 13, 0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  text-align: center;
  overflow: hidden;
}

.rsvp-modal-card::before{
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(191, 147, 13, 0.14);
  border-radius: 20px;
  pointer-events: none;
}

.rsvp-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.rsvp-modal-close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.28);
}

.rsvp-modal-kicker{
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.rsvp-modal-card h3{
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: var(--text);
}

.rsvp-modal-text{
  margin: 0 auto;
  max-width: 430px;
  font-size: 1.24rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.rsvp-modal-actions{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.rsvp-modal-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(191, 147, 13, 0.28);
  background: rgba(191, 147, 13, 0.86);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.rsvp-modal-btn:hover{
  transform: translateY(-1px);
  background: rgba(191, 147, 13, 0.96);
  border-color: rgba(191, 147, 13, 0.42);
}

.rsvp-modal-btn-secondary{
  background: rgba(255,255,255,0.34);
  color: var(--text);
  border: 1px solid rgba(80, 70, 58, 0.12);
}

.rsvp-modal-btn-secondary:hover{
  background: rgba(255,255,255,0.52);
  border-color: rgba(80, 70, 58, 0.18);
}

body.rsvp-modal-open{
  overflow: hidden;
}

/* LIGHTBOX */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.90);
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.lightbox.is-visible{
  display: flex;
}

.lightbox img{
  max-width: min(100%, 980px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev{
  left: 20px;
}

.lightbox-next{
  right: 20px;
}

/* REVEAL */
.reveal-ready{
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    filter 0.7s ease;
  filter: blur(3px);
}

.reveal{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes fadeFloatUp{
  from{
    opacity: 0;
    transform: translateY(22px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1180px){
  .main-nav{
    gap: 14px;
  }
}

@media (max-width: 1100px){
  .header-shell{
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 0;
  }

  .header-spacer{
    display: none;
  }

  .lang-switcher{
    justify-content: center;
  }
}

@media (max-width: 920px){
  .details-grid,
  .gift-grid,
  .hotel-grid,
  .gallery-grid,
  .guest-grid{
    grid-template-columns: 1fr;
  }

  .countdown-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .palette-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-parents-grid{
    grid-template-columns: 1fr;
  }

  .details-map iframe{
    min-height: 320px;
  }

  .main-nav{
    gap: 12px 16px;
  }

  .hero-card{
    padding: 110px 42px 82px;
  }

  #guestHotelStat{
    order: 3;
  }

  .guest-grid.no-hotel{
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

@media (max-width: 680px){
  :root{
    --header-h: auto;
  }

  .header-shell{
    width: calc(100% - 28px);
  }

  .main-nav{
    justify-content: center;
  }

  .main-nav a{
    font-size: 0.84rem;
  }

  .hero,
  .section-inner{
    width: calc(100% - 28px);
  }

  .hero{
    min-height: auto;
    padding: 18px 0 40px;
  }

  .hero-card{
    min-height: 580px;
    padding: 100px 20px 58px;
    border-radius: 24px;
  }

 /* RSVP MODAL MOBILE */

  .gift-modal-card,
  .rsvp-modal-card{
    padding: 30px 20px 22px;
    border-radius: 24px;
  }

  .gift-modal-links a{
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 13px 14px;
  }

  .rsvp-modal-actions{
    flex-direction: column;
    gap: 10px;
  }

  .rsvp-modal-btn{
    width: 100%;
    min-width: auto;
  }

  .rsvp-modal-text{
    font-size: 1.12rem;
    line-height: 1.6;
  }

  .hero-card-signature{
    top: 24px;
    font-size: clamp(2.9rem, 10vw, 4.6rem);
    white-space: normal;
    line-height: 0.95;
    padding: 0 10px;
  }

  .hero-content{
    margin-top: 88px;
  }

  .hero-quote{
    margin-bottom: 24px;
  }

  .hero-family{
    margin-bottom: 28px;
  }

  .hero-family-kicker{
    margin-bottom: 12px;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .hero-parent-group{
    padding: 14px 14px;
  }

  .hero-parent-role{
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-parent-names{
    font-size: 1rem;
    line-height: 1.4;
  }

  .btn-primary,
  form button{
    width: 100%;
    max-width: 100%;
  }

  .countdown-section,
  .details,
  .schedule,
  .dresscode,
  .travel,
  .gallery,
  .gift,
  .rsvp,
  .guest-experience{
    padding: 46px 0;
  }

  .details-copy,
  .travel-intro,
  .gallery-intro,
  .travel-practical,
  .gift-main,
  .gift-option,
  .hotel-card,
  .dresscode-panel,
  .guest-card,
  .guest-fallback{
    padding: 26px 20px;
  }

  .details-map{
    padding: 14px;
  }

  .timeline{
    padding: 14px;
  }

  .timeline-item{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-time{
    padding-top: 0;
  }

  .mini-info-grid{
    grid-template-columns: 1fr;
  }

  .countdown-grid{
    grid-template-columns: 1fr 1fr;
  }

  .palette-grid{
    grid-template-columns: 1fr;
  }

  .hotel-card-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .gift-actions{
    flex-direction: column;
  }

  .gift-btn{
    width: 100%;
  }

  .lightbox-nav{
    width: 44px;
    height: 44px;
  }

  .lightbox-prev{
    left: 10px;
  }

  .lightbox-next{
    right: 10px;
  }

  .access-card{
    padding: 28px 20px;
  }

  .guest-hotel-note{
    max-width: 100%;
  }
}

@media (max-width: 480px){
  .countdown-grid{
    grid-template-columns: 1fr;
  }

  .wedding-overlay-content{
    padding: 22px;
  }
}

/* DASHBOARD */
[hidden]{
  display: none !important;
}

.dashboard-body{
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(191, 147, 13, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(246, 238, 226, 0.82));
}

.dashboard-page{
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 34px 0 58px;
}

.dashboard-body .premium-card{
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(42, 34, 27, 0.045);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.dashboard-body .premium-card::before{
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 42%);
}

.dashboard-shell{
  width: 100%;
}

.dashboard-app{
  --internal-bg-image: url("images/internal-bg-main.webp");
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 0 minmax(0, 1fr);
  gap: 0;
  align-items: start;
  transition: grid-template-columns 0.26s ease, gap 0.26s ease;
}

.dashboard-app::before,
.dashboard-app::after{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.dashboard-app::before{
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(247, 246, 242, 0.62), rgba(229, 226, 219, 0.38)),
    var(--internal-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dashboard-app::after{
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(245, 245, 243, 0.34), rgba(215, 213, 207, 0.22));
  backdrop-filter: blur(1px) saturate(0.96);
  -webkit-backdrop-filter: blur(1px) saturate(0.96);
}

.dashboard-app.dashboard-nav-expanded{
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.dashboard-sidebar,
.dashboard-topbar{
  --internal-smoke-glass-bg:
    linear-gradient(
      135deg,
      rgba(34, 36, 41, 0.32) 0%,
      rgba(28, 30, 35, 0.24) 35%,
      rgba(18, 20, 24, 0.30) 100%
    );
  --internal-smoke-glass-border: 1px solid rgba(255, 255, 255, 0.14);
  --internal-smoke-glass-shadow:
    0 12px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  --internal-smoke-glass-filter: blur(18px) saturate(125%);
  background: var(--internal-smoke-glass-bg);
  border: var(--internal-smoke-glass-border);
  box-shadow: var(--internal-smoke-glass-shadow);
  backdrop-filter: var(--internal-smoke-glass-filter);
  -webkit-backdrop-filter: var(--internal-smoke-glass-filter);
  overflow: hidden;
}

.dashboard-sidebar::before,
.dashboard-body .dashboard-topbar.premium-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.05) 16%,
      rgba(255, 255, 255, 0) 34%
    );
  opacity: 0.45;
  pointer-events: none;
}

.dashboard-sidebar::after,
.dashboard-body .dashboard-topbar.premium-card::after{
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.dashboard-sidebar{
  position: sticky;
  top: 24px;
  z-index: 5;
  width: 58px;
  min-height: calc(100vh - 110px);
  padding: 2px;
  border-radius: 14px;
  transition: width 0.26s ease, padding 0.26s ease;
}

.dashboard-app.dashboard-nav-expanded .dashboard-sidebar{
  width: auto;
  padding: 12px;
}

.dashboard-brand{
  position: relative;
  z-index: 1;
  display: none;
  min-height: 54px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-brand::before{
  content: "DC";
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  color: rgba(238, 224, 194, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dashboard-app.dashboard-nav-expanded .dashboard-brand::before{
  display: none;
}

.dashboard-brand small,
.dashboard-panel-note,
.dashboard-status-text{
  font-family: "Inter", sans-serif;
}

.dashboard-brand strong{
  display: block;
  opacity: 0;
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.dashboard-brand small{
  display: block;
  margin-top: 9px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.dashboard-app.dashboard-nav-expanded .dashboard-brand strong,
.dashboard-app.dashboard-nav-expanded .dashboard-brand small{
  opacity: 1;
}

.dashboard-app.dashboard-nav-expanded .dashboard-brand{
  display: block;
}

.dashboard-nav{
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.dashboard-app.dashboard-nav-expanded .dashboard-nav{
  display: flex;
}

.dashboard-sidebar-toggle{
  position: relative;
  z-index: 1;
  appearance: none;
  width: 52px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(238, 224, 194, 0.86);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  padding: 8px;
  box-shadow: none;
  transition: opacity 0.2s ease, width 0.2s ease, justify-content 0.2s ease;
}

.dashboard-sidebar-toggle:hover{
  opacity: 0.9;
}

.dashboard-user-avatar{
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;

  border: 0 !important;
  border-radius: 0 !important;

  background: none !important;

  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  opacity: 0.94;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}

.dashboard-sidebar-toggle,
.dashboard-app.dashboard-nav-expanded .dashboard-sidebar-toggle{
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.dashboard-user-copy{
  display: none;
  min-width: 0;
  text-align: left;
}

.dashboard-user-copy strong,
.dashboard-user-copy small,
.dashboard-user-copy em{
  display: block;
  white-space: nowrap;
}

.dashboard-user-copy strong{
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.1;
}

.dashboard-user-copy small{
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.dashboard-user-copy em{
  margin-top: 4px;
  color: rgba(214, 194, 158, 0.72);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.dashboard-app.dashboard-nav-expanded .dashboard-sidebar-toggle{
  width: 100%;
  justify-content: flex-start;
  padding: 7px 2px;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}

.dashboard-app.dashboard-nav-expanded .dashboard-user-copy{
  display: block;
}

.dashboard-nav-btn{
  appearance: none;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px 11px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, min-height 0.2s ease;
}

.dashboard-nav-btn::before{
  content: "";
  display: none;
}

.dashboard-nav-btn:hover::before,
.dashboard-nav-btn.is-active::before{
  display: none;
}

.dashboard-app.dashboard-nav-expanded .dashboard-nav-btn{
  justify-content: flex-start;
  min-height: 38px;
  font-size: 0.88rem;
  text-align: left;
  padding: 9px 10px 9px 12px;
}

.dashboard-app.dashboard-nav-expanded .dashboard-nav-btn::before{
  content: "";
  display: none;
}

.dashboard-nav-btn:hover,
.dashboard-nav-btn.is-active{
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.dashboard-nav-btn.is-active{
  transform: none;
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.28);
}

.dashboard-app:not(.dashboard-nav-expanded) .dashboard-nav-btn.is-active{
  background: transparent;
  border-color: transparent;
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.24);
}

.dashboard-app:not(.dashboard-nav-expanded) .dashboard-sidebar:not(:hover) .dashboard-nav-btn:hover{
  background: transparent;
  border-color: transparent;
}

.dashboard-main{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 68px;
  transition: padding-left 0.26s ease;
}

.dashboard-app.dashboard-nav-expanded .dashboard-main{
  padding-left: 0;
}

.dashboard-topbar{
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(280px, 620px) minmax(120px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
}

.dashboard-topbar-copy{
  position: relative;
  z-index: 1;
  grid-column: 2;
  min-width: 0;
  text-align: center;
}

.dashboard-topbar .dashboard-kicker{
  color: rgba(238, 224, 194, 0.78);
}

.dashboard-kicker{
  margin: 0 0 5px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(130, 101, 65, 0.82);
}

.dashboard-topbar h1{
  margin: 0 0 4px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.94);
}

.dashboard-subtext{
  margin: 0 auto;
  max-width: 720px;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.dashboard-topbar .dashboard-subtext{
  color: rgba(255, 255, 255, 0.66);
}

.dashboard-actions{
  position: relative;
  z-index: 1;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  gap: 6px;
  flex-shrink: 0;
}

.dashboard-status-text{
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.dashboard-topbar .dashboard-status-text{
  color: rgba(255, 255, 255, 0.58);
}

.dashboard-btn{
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: var(--gold-dark);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.dashboard-btn:hover{
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.52);
}

.dashboard-refresh-btn{
  border: 0;
  border-bottom: 1px solid rgba(238, 224, 194, 0.34);
  border-radius: 0;
  background: transparent;
  color: rgba(238, 224, 194, 0.86);
  padding: 3px 0 4px;
  font-size: 0.72rem;
  box-shadow: none;
}

.dashboard-refresh-btn:hover{
  background: transparent;
  border-color: rgba(255, 255, 255, 0.74);
  transform: none;
}

.dashboard-link-btn{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(120, 91, 55, 0.86);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}

.dashboard-login-card{
  --login-bg-image: url("images/login-bg-main.webp");
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin: -34px calc(50% - 50vw) -58px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 54px) clamp(18px, 3vw, 40px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-login-background{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 250, 241, 0.04) 48%, rgba(35, 28, 23, 0.10) 100%),
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.20), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.10), transparent 30%),
    var(--login-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dashboard-login-background::before{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(74, 58, 43, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 58, 43, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.dashboard-login-background::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 250, 241, 0.01) 48%, rgba(35, 28, 23, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(35, 28, 23, 0.04));
  backdrop-filter: blur(0.5px);
}

.dashboard-login-stage{
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-height: min(690px, calc(100vh - 128px));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.74fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  padding: clamp(38px, 6.4vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 60px rgba(34, 28, 23, 0.10);
  backdrop-filter: blur(18px) saturate(1.18);
}

.dashboard-login-language{
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.dashboard-login-language::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(48, 36, 27, 0.66);
  border-bottom: 1px solid rgba(48, 36, 27, 0.66);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.dashboard-login-language select{
  appearance: none;
  min-width: 132px;
  min-height: 32px;
  padding: 0 28px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.12);
  color: rgba(48, 36, 27, 0.82);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  outline: none;
  backdrop-filter: blur(18px) saturate(1.08);
}

.dashboard-login-language select:focus{
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.dashboard-login-copy{
  max-width: 620px;
}

.dashboard-login-brand{
  display: grid;
  gap: 4px;
  margin-bottom: clamp(22px, 4.4vw, 48px);
  font-family: "Inter", sans-serif;
}

.dashboard-login-brand-row{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  line-height: 1;
}

.dashboard-login-logo{
  width: auto;
  height: 80px;
  object-fit: contain;
  opacity: 0.92;
  transform: translateY(0.01em);
}

.dashboard-login-brand-row span{
  color: rgba(58, 45, 34, 0.90);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dashboard-login-brand small{
  color: var(--text-soft);
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-login-copy h1{
  margin: 0 0 16px;
  max-width: 500px;
  color: rgba(48, 36, 27, 0.94);
  font-size: clamp(2.45rem, 5.2vw, 4.25rem);
  line-height: 0.98;
}

.dashboard-login-copy p{
  margin: 0;
  max-width: 500px;
  color: rgba(74, 58, 43, 0.76);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.dashboard-login-context{
  display: block;
  margin-top: 38px;
  color: rgba(74, 58, 43, 0.58);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-login-panel{
  position: relative;
  padding: clamp(25px, 3.8vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(34, 28, 23, 0.08);
  backdrop-filter: blur(34px) saturate(1.22);
}

.dashboard-login-panel::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, rgba(171, 145, 111, 0.42), rgba(171, 145, 111, 0));
}

.dashboard-login-eyebrow{
  margin: 0 0 10px;
  color: rgba(74, 58, 43, 0.74);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dashboard-login-panel h2{
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.dashboard-login-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.dashboard-login-form input{
  border-color: rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px) saturate(1.08);
}

.dashboard-login-submit{
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-color: rgba(255, 255, 255, 0.20);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(61, 50, 42, 0.82), rgba(36, 30, 26, 0.74)),
    rgba(48, 40, 34, 0.58);
  color: rgba(255, 252, 246, 0.96);
  box-shadow: 0 8px 22px rgba(34, 28, 23, 0.10);
  backdrop-filter: blur(12px);
}

.dashboard-login-submit:hover{
  background:
    linear-gradient(180deg, rgba(72, 60, 50, 0.88), rgba(41, 34, 29, 0.80)),
    rgba(48, 40, 34, 0.64);
  border-color: rgba(255, 255, 255, 0.28);
}

.dashboard-login-error{
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #9f3e3e;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
}

.dashboard-login-divider{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  color: rgba(74, 58, 43, 0.56);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-login-divider::before,
.dashboard-login-divider::after{
  content: "";
  height: 1px;
  background: rgba(74, 58, 43, 0.10);
}

.dashboard-login-social{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.dashboard-social-btn{
  appearance: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.16);
  color: rgba(48, 36, 27, 0.84);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(18px);
}

.dashboard-social-icon{
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.dashboard-social-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.70);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.20);
  box-shadow: 0 8px 18px rgba(34, 28, 23, 0.06);
}

.dashboard-social-google{
  border-color: rgba(66, 133, 244, 0.22);
}

.dashboard-social-facebook{
  border-color: rgba(24, 119, 242, 0.22);
}

.dashboard-social-microsoft{
  border-color: rgba(0, 164, 239, 0.20);
}

.dashboard-login-footer{
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 252, 246, 0.62);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(34, 28, 23, 0.18);
}

.dashboard-login-footer small{
  color: rgba(255, 252, 246, 0.48);
  font-size: 0.60rem;
  letter-spacing: 0.12em;
}

.dashboard-login-meta{
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(74, 58, 43, 0.08);
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
}

.dashboard-login-meta span{
  color: var(--text);
  font-size: 0.82rem;
}

.dashboard-login-meta small{
  font-size: 0.78rem;
}

.dashboard-panel{
  display: none;
}

.dashboard-panel.is-active{
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.dashboard-panel-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 0 2px;
}

.dashboard-panel-head h2{
  margin: 0;
  font-size: clamp(1.72rem, 2.5vw, 2.24rem);
  line-height: 1.05;
}

.dashboard-panel-note{
  color: var(--text-soft);
  font-size: 0.88rem;
}

.dashboard-overview-head p{
  margin: 7px 0 0;
  max-width: 620px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.dashboard-panel[data-dashboard-panel="invitados"] .dashboard-panel-head p{
  margin: 7px 0 0;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.dashboard-metrics-strip{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(80, 70, 58, 0.10);
  border-bottom: 1px solid rgba(80, 70, 58, 0.10);
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-metric-item{
  min-width: 0;
  padding: 13px 16px 12px;
  text-align: left;
}

.dashboard-metric-item:not(:last-child){
  border-right: 1px solid rgba(80, 70, 58, 0.09);
}

.dashboard-stat-label{
  display: block;
  margin-bottom: 7px;
  font-family: "Inter", sans-serif;
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(54, 47, 40, 0.62);
}

.dashboard-metric-item strong{
  display: block;
  font-size: clamp(1.46rem, 2.7vw, 2.04rem);
  line-height: 1;
  color: rgba(54, 47, 40, 0.86);
}

.dashboard-table-card{
  padding: 14px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 22px rgba(42, 34, 27, 0.03);
}

.dashboard-overview-grid{
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
}

.dashboard-attention-panel,
.dashboard-activity-panel{
  min-width: 0;
  padding: 16px 16px 14px;
  border-top: 1px solid rgba(80, 70, 58, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.dashboard-overview-card-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.dashboard-overview-card-head h3{
  margin: 0;
  font-size: 1.34rem;
  line-height: 1;
}

.dashboard-overview-card-head .dashboard-kicker{
  margin-bottom: 5px;
  font-size: 0.68rem;
}

.dashboard-attention-list{
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(80, 70, 58, 0.075);
}

.dashboard-attention-item{
  padding: 12px 0;
  border-bottom: 1px solid rgba(80, 70, 58, 0.065);
}

.dashboard-attention-item:last-child{
  border-bottom: 0;
}

.dashboard-attention-item span,
.dashboard-attention-item p{
  font-family: "Inter", sans-serif;
}

.dashboard-attention-item span{
  display: block;
  margin-bottom: 4px;
  color: rgba(54, 47, 40, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-attention-item p{
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.dashboard-activity-list{
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(80, 70, 58, 0.06);
}

.dashboard-activity-item{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(80, 70, 58, 0.055);
}

.dashboard-activity-item:last-child{
  border-bottom: 0;
}

.dashboard-activity-item strong,
.dashboard-activity-item span,
.dashboard-activity-meta,
.dashboard-activity-empty{
  font-family: "Inter", sans-serif;
}

.dashboard-activity-item strong{
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.dashboard-activity-item span{
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.dashboard-activity-meta{
  flex: 0 0 auto;
  color: rgba(54, 47, 40, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-activity-empty{
  margin: 0;
  padding: 14px 0 2px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.guests-summary-strip{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(80, 70, 58, 0.10);
  border-bottom: 1px solid rgba(80, 70, 58, 0.10);
  background: rgba(255, 255, 255, 0.07);
}

.guests-summary-item{
  min-width: 0;
  padding: 13px 16px 12px;
}

.guests-summary-item:not(:last-child){
  border-right: 1px solid rgba(80, 70, 58, 0.09);
}

.guests-summary-item span,
.guests-summary-item strong,
.guests-search,
.guest-filter-btn,
.guest-row,
.guests-empty{
  font-family: "Inter", sans-serif;
}

.guests-summary-item span{
  display: block;
  margin-bottom: 7px;
  color: rgba(54, 47, 40, 0.62);
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guests-summary-item strong{
  display: block;
  color: rgba(54, 47, 40, 0.86);
  font-size: clamp(1.34rem, 2.4vw, 1.9rem);
  line-height: 1;
}

.dashboard-guests-panel{
  display: grid;
  gap: 12px;
}

.guests-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(80, 70, 58, 0.09);
}

.guests-search{
  width: min(420px, 100%);
  border: 1px solid rgba(80, 70, 58, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
}

.guests-search:focus{
  border-color: rgba(80, 70, 58, 0.24);
  box-shadow: 0 0 0 4px rgba(80, 70, 58, 0.055);
}

.guests-filters{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.guest-filter-btn{
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.guest-filter-btn:hover,
.guest-filter-btn.is-active{
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(80, 70, 58, 0.11);
  color: var(--text);
}

.guests-list{
  display: grid;
  border-top: 1px solid rgba(80, 70, 58, 0.075);
}

.guest-row{
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(90px, 0.58fr) minmax(110px, 0.68fr) minmax(110px, 0.72fr) minmax(112px, 0.72fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(80, 70, 58, 0.065);
}

.guest-row:last-child{
  border-bottom: 0;
}

.guest-main strong{
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

.guest-meta,
.guest-row-label{
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.guest-row-value,
.guest-status,
.guest-access-action{
  color: rgba(54, 47, 40, 0.80);
  font-size: 0.84rem;
}

.guest-status{
  font-weight: 600;
}

.guest-status.is-confirmed{
  color: rgba(42, 98, 72, 0.86);
}

.guest-status.is-declined{
  color: rgba(132, 61, 58, 0.86);
}

.guest-status.is-pending{
  color: rgba(99, 82, 54, 0.78);
}

.guest-access-action{
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid rgba(80, 70, 58, 0.16);
  color: rgba(80, 70, 58, 0.72);
  letter-spacing: 0.04em;
}

.guests-empty{
  margin: 0;
  padding: 18px 0 4px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.dashboard-table-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.dashboard-table-head h2{
  margin: 0;
  font-size: 1.38rem;
}

.dashboard-table-head p{
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.dashboard-search{
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.20);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  padding: 10px 12px;
  outline: none;
}

.dashboard-search:focus{
  border-color: rgba(191, 147, 13, 0.46);
  box-shadow: 0 0 0 4px rgba(191, 147, 13, 0.10);
}

.dashboard-table-wrap{
  overflow-x: auto;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255,255,255,0.05);
}

.dashboard-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.dashboard-table-compact{
  min-width: 620px;
}

.dashboard-table thead th{
  text-align: left;
  padding: 13px 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(80, 70, 58, 0.055);
  background: rgba(255,255,255,0.06);
}

.dashboard-table tbody td{
  padding: 12px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid rgba(80, 70, 58, 0.045);
  vertical-align: top;
}

.dashboard-table tbody tr:last-child td{
  border-bottom: 0;
}

.dashboard-table tbody tr:hover{
  background: rgba(255, 255, 255, 0.10);
}

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

.dashboard-placeholder-card{
  padding: 16px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 22px rgba(42, 34, 27, 0.03);
}

.dashboard-placeholder-card h3{
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.dashboard-placeholder-card p{
  margin: 0;
  max-width: 720px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.dashboard-placeholder-card span{
  display: block;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.dashboard-placeholder-card strong{
  display: block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  color: var(--gold-dark);
}

.dashboard-placeholder-wide{
  grid-column: span 2;
}

.dashboard-timeline-card{
  padding: 16px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 22px rgba(42, 34, 27, 0.03);
}

.dashboard-timeline{
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dashboard-timeline li{
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(80, 70, 58, 0.10);
}

.dashboard-timeline li:last-child{
  border-bottom: 0;
}

.dashboard-timeline span{
  color: var(--gold-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.dashboard-timeline p{
  margin: 0;
  color: var(--text-soft);
}

.dashboard-footer{
  position: relative;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
}

.dashboard-footer::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(180px, 34%);
  height: 1px;
  background: linear-gradient(90deg, rgba(130, 101, 65, 0.36), rgba(130, 101, 65, 0));
}

.dashboard-footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  color: rgba(94, 78, 61, 0.62);
}

.dashboard-footer-inner p,
.dashboard-footer-inner span{
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-footer-inner span{
  color: rgba(94, 78, 61, 0.52);
}

@media (max-width: 1100px){
  .dashboard-app{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dashboard-app.dashboard-nav-expanded{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dashboard-sidebar{
    position: static;
    width: auto;
    min-height: 0;
    padding: 14px;
    border: var(--internal-smoke-glass-border);
    border-radius: 14px;
    background: var(--internal-smoke-glass-bg);
    box-shadow: var(--internal-smoke-glass-shadow);
    backdrop-filter: var(--internal-smoke-glass-filter);
    -webkit-backdrop-filter: var(--internal-smoke-glass-filter);
  }

  .dashboard-main{
    padding-left: 0;
  }

  .dashboard-brand{
    display: block;
    min-height: 0;
    padding: 0 0 16px;
  }

  .dashboard-brand::before{
    display: none;
  }

  .dashboard-brand span,
  .dashboard-brand strong,
  .dashboard-brand small{
    opacity: 1;
  }

  .dashboard-sidebar-toggle{
    display: none;
  }

  .dashboard-nav{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dashboard-nav-btn{
    width: auto;
    min-height: 40px;
    justify-content: flex-start;
    font-size: 0.88rem;
    padding: 10px 13px;
    white-space: nowrap;
  }

  .dashboard-nav-btn::before{
    content: "";
    display: none;
  }

  .dashboard-nav-btn.is-active{
    transform: none;
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.24);
  }

  .dashboard-metrics-strip{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guests-summary-strip{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-metric-item:nth-child(3){
    border-right: 0;
  }

  .guests-summary-item:nth-child(3){
    border-right: 0;
  }

  .dashboard-metric-item:nth-child(n + 4){
    border-top: 1px solid rgba(80, 70, 58, 0.09);
  }

  .guests-summary-item:nth-child(n + 4){
    border-top: 1px solid rgba(80, 70, 58, 0.09);
  }

  .dashboard-overview-grid{
    grid-template-columns: 1fr;
  }

  .dashboard-placeholder-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-footer-inner{
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 820px){
  .dashboard-page{
    width: calc(100% - 28px);
    padding: 24px 0 54px;
  }

  .dashboard-login-card{
    min-height: 100vh;
    margin: -24px calc(50% - 50vw) -54px;
  }

  .dashboard-login-stage{
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding: 34px 24px;
  }

  .dashboard-login-brand{
    margin-bottom: 34px;
  }

  .dashboard-login-copy{
    max-width: none;
  }

  .dashboard-topbar{
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dashboard-topbar-copy,
  .dashboard-actions{
    grid-column: 1;
  }

  .dashboard-actions{
    align-items: center;
    justify-self: center;
  }

  .dashboard-metrics-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guests-summary-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-metric-item:nth-child(3){
    border-right: 1px solid rgba(80, 70, 58, 0.09);
  }

  .guests-summary-item:nth-child(3){
    border-right: 1px solid rgba(80, 70, 58, 0.09);
  }

  .dashboard-metric-item:nth-child(2n){
    border-right: 0;
  }

  .guests-summary-item:nth-child(2n){
    border-right: 0;
  }

  .dashboard-metric-item:nth-child(n + 3){
    border-top: 1px solid rgba(80, 70, 58, 0.09);
  }

  .guests-summary-item:nth-child(n + 3){
    border-top: 1px solid rgba(80, 70, 58, 0.09);
  }

  .guests-toolbar{
    align-items: stretch;
    flex-direction: column;
  }

  .guests-filters{
    justify-content: flex-start;
  }

  .guest-row{
    grid-template-columns: 1fr 1fr;
  }

  .guest-main{
    grid-column: 1 / -1;
  }

  .dashboard-table-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-timeline li{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px){
  .dashboard-topbar,
  .dashboard-sidebar,
  .dashboard-table-card,
  .dashboard-placeholder-card,
  .dashboard-timeline-card{
    padding: 20px 16px;
  }

  .dashboard-login-card{
    padding: 22px 14px;
    border-radius: 0;
  }

  .dashboard-login-stage{
    padding: 28px 18px;
  }

  .dashboard-login-brand{
    margin-bottom: 28px;
  }

  .dashboard-login-copy h1{
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .dashboard-login-panel{
    padding: 24px 18px;
  }

  .dashboard-login-social{
    grid-template-columns: 1fr;
  }

  .dashboard-login-footer{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.62rem;
  }

  .dashboard-brand strong{
    font-size: 1.55rem;
  }

  .dashboard-panel-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-metrics-strip{
    grid-template-columns: 1fr;
  }

  .guests-summary-strip{
    grid-template-columns: 1fr;
  }

  .dashboard-metric-item{
    border-right: 0 !important;
  }

  .guests-summary-item{
    border-right: 0 !important;
  }

  .dashboard-metric-item:not(:first-child){
    border-top: 1px solid rgba(80, 70, 58, 0.09);
  }

  .guests-summary-item:not(:first-child){
    border-top: 1px solid rgba(80, 70, 58, 0.09);
  }

  .guest-row{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-placeholder-grid{
    grid-template-columns: 1fr;
  }

  .dashboard-placeholder-wide{
    grid-column: span 1;
  }

  .dashboard-login-card h2,
  .dashboard-table-head h2{
    font-size: 1.7rem;
  }

  .dashboard-subtext,
  .dashboard-login-card p{
    font-size: 1.04rem;
  }
}

/* Attendance badges */
.att-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-family:"Inter",sans-serif;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.att-yes{
  background:rgba(76,170,120,.15);
  color:#2f7a50;
}

.att-no{
  background:rgba(180,70,70,.15);
  color:#9a3e3e;
}

.att-pending{
  background:rgba(191,147,13,.15);
  color:#8a6a08;
}

/* Attendance badges enhanced */

.att-yes{
  background: rgba(76,170,120,.18);
  color:#2f7a50;
  font-weight:600;
}

.att-no{
  background: rgba(180,70,70,.18);
  color:#9a3e3e;
  font-weight:600;
}

.att-pending{
  background: rgba(191,147,13,.18);
  color:#8a6a08;
  font-weight:600;
}

/* =========================================================
   EVENTOS INTERNAL GLASS PATCH
   Navbar + topbar only
   ========================================================= */

.dashboard-body{
  --eventos-smoke-glass:
    linear-gradient(
      145deg,
      rgba(22, 23, 27, 0.46) 0%,
      rgba(32, 33, 38, 0.30) 42%,
      rgba(10, 11, 14, 0.38) 100%
    );

  --eventos-smoke-border: rgba(255, 255, 255, 0.18);
  --eventos-smoke-border-soft: rgba(255, 255, 255, 0.10);
  --eventos-smoke-shadow:
    0 18px 45px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.055);

  --eventos-smoke-blur: blur(20px) saturate(135%);
  --eventos-text-glass: rgba(255, 255, 255, 0.88);
  --eventos-text-glass-soft: rgba(255, 255, 255, 0.62);
  --eventos-text-glass-muted: rgba(255, 255, 255, 0.46);
  --eventos-champagne-soft: rgba(222, 202, 164, 0.72);
}

/* Mismo material para navbar y hero */
.dashboard-sidebar,
.dashboard-topbar.premium-card{
  position: relative;
  overflow: hidden;

  background: var(--eventos-smoke-glass) !important;
  border: 1px solid var(--eventos-smoke-border) !important;
  box-shadow: var(--eventos-smoke-shadow) !important;

  backdrop-filter: var(--eventos-smoke-blur) !important;
  -webkit-backdrop-filter: var(--eventos-smoke-blur) !important;

  color: var(--eventos-text-glass);
}

.dashboard-sidebar{
  top: 0 !important;
}

/* Mata el “before” lechoso/global de premium-card y lo reemplaza por brillo controlado */
.dashboard-sidebar::before,
.dashboard-topbar.premium-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 0 !important;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;

  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.20) 0%,
      rgba(255, 255, 255, 0.075) 16%,
      rgba(255, 255, 255, 0.00) 38%
    ),
    radial-gradient(
      circle at 18% 0%,
      rgba(255, 255, 255, 0.16),
      transparent 34%
    );

  opacity: 0.55;
}

/* Borde inferior/superior glossy, sin rayas raras */
.dashboard-sidebar::after,
.dashboard-topbar.premium-card::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.025) 22%,
      transparent 58%
    );

  opacity: 0.72;
}

/* Asegura que el contenido quede encima del glass */
.dashboard-sidebar > *,
.dashboard-topbar.premium-card > *{
  position: relative;
  z-index: 1;
}

/* Hero/topbar: mismo material, mejor contraste */
.dashboard-topbar.premium-card{
  border-radius: 14px !important;
}

.dashboard-topbar .dashboard-kicker{
  color: var(--eventos-champagne-soft) !important;
}

.dashboard-topbar h1{
  color: var(--eventos-text-glass) !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.dashboard-topbar .dashboard-subtext,
.dashboard-topbar .dashboard-status-text{
  color: var(--eventos-text-glass-soft) !important;
}

.dashboard-topbar .dashboard-refresh-btn{
  color: var(--eventos-champagne-soft) !important;
  border-color: rgba(222, 202, 164, 0.28) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Navbar text */
.dashboard-brand strong,
.dashboard-user-copy strong,
.dashboard-nav-btn{
  color: var(--eventos-text-glass) !important;
}

.dashboard-brand small,
.dashboard-user-copy small{
  color: var(--eventos-text-glass-soft) !important;
}

.dashboard-user-copy em{
  color: var(--eventos-champagne-soft) !important;
}

/* User toggle: sin cajita extra */
.dashboard-sidebar-toggle,
.dashboard-app.dashboard-nav-expanded .dashboard-sidebar-toggle{
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Avatar: solo icono, no “encerrado” */
.dashboard-user-avatar{
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  background: none !important;

  opacity: 0.94;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}

/* Active nav: más fino, no cápsula pesada */
.dashboard-nav-btn:hover,
.dashboard-nav-btn.is-active{
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

.dashboard-nav-btn.is-active{
  box-shadow:
    inset 2px 0 0 rgba(222, 202, 164, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Separador de marca más sutil */
.dashboard-brand{
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

/* Dashboard sidebar icons */
.sidebar-icon,
.nav-icon,
.user-icon{
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.dashboard-user-avatar.user-icon{
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 0.68;
  filter: brightness(1.55) grayscale(1) contrast(0.58) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.10));
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.dashboard-sidebar-toggle:hover .dashboard-user-avatar.user-icon{
  opacity: 0.78;
}

.dashboard-nav{
  display: flex;
}

.dashboard-nav-btn{
  gap: 10px;
}

.nav-icon{
  width: 19px;
  height: 19px;
  opacity: 0.46;
  filter: brightness(1.62) grayscale(1) contrast(0.52);
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.nav-label{
  display: none;
  min-width: 0;
}

.dashboard-nav-btn:hover .nav-icon{
  opacity: 0.62;
}

.dashboard-nav-btn.is-active .nav-icon{
  opacity: 0.72;
  filter: brightness(1.72) grayscale(1) contrast(0.56) drop-shadow(0 2px 7px rgba(255, 255, 255, 0.08));
}

.dashboard-app:not(.dashboard-nav-expanded) .dashboard-nav{
  align-items: center;
}

.dashboard-app:not(.dashboard-nav-expanded) .dashboard-nav-btn{
  justify-content: center;
  padding: 9px;
}

.dashboard-app.dashboard-nav-expanded .nav-label{
  display: inline;
}

@media (max-width: 1100px){
  .nav-label{
    display: inline;
  }

  .dashboard-nav-btn{
    gap: 9px;
  }
}

/* =========================================================
   EVENTOS PUBLIC EXPERIENCE REFRESH
   Public gate, editorial header, hero and shared glass system
   ========================================================= */

body{
  --public-smoke-glass:
    linear-gradient(
      145deg,
      rgba(28, 29, 33, 0.42) 0%,
      rgba(43, 42, 40, 0.28) 46%,
      rgba(16, 16, 18, 0.34) 100%
    );
  --public-light-glass:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  --public-glass-border: rgba(255, 255, 255, 0.42);
  --public-smoke-border: rgba(255, 255, 255, 0.18);
  --public-ink: rgba(48, 36, 27, 0.92);
  --public-ink-soft: rgba(74, 58, 43, 0.70);
  --public-champagne: rgba(174, 143, 96, 0.62);
  --public-shadow: 0 18px 60px rgba(34, 28, 23, 0.10);
}

.access-gate{
  padding: clamp(18px, 4vw, 46px);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 250, 241, 0.04) 48%, rgba(35, 28, 23, 0.12) 100%),
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.20), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.10), transparent 30%),
    url("images/login-bg-main.webp") center center / cover no-repeat;
  backdrop-filter: none;
}

.access-gate::before{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(74, 58, 43, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 58, 43, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  pointer-events: none;
}

.access-gate::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 250, 241, 0.01) 48%, rgba(35, 28, 23, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(35, 28, 23, 0.04));
  backdrop-filter: blur(0.5px);
  pointer-events: none;
}

.access-card{
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  min-height: min(570px, calc(100vh - 86px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  align-items: center;
  gap: clamp(28px, 4.6vw, 58px);
  padding: clamp(34px, 5vw, 58px) clamp(28px, 5vw, 62px) clamp(58px, 6vw, 72px);
  border: 1px solid var(--public-glass-border);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 50%, rgba(255, 255, 255, 0.08));
  box-shadow: var(--public-shadow);
  color: var(--public-ink);
  text-align: left;
  backdrop-filter: blur(18px) saturate(1.18);
  overflow: hidden;
}

.access-card::before{
  inset: 0;
  border: 0;
  border-radius: inherit;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 16%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.16), transparent 28%);
}

.access-brand-panel{
  grid-column: 1;
  grid-row: 1 / 5;
  max-width: 570px;
}

.access-brand{
  display: grid;
  gap: 4px;
  margin-bottom: clamp(22px, 3.8vw, 40px);
  font-family: "Inter", sans-serif;
}

.access-brand-row{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  line-height: 1;
}

.access-brand-row span{
  color: rgba(58, 45, 34, 0.90);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.access-brand-logo{
  width: auto;
  height: 80px;
  object-fit: contain;
  opacity: 0.92;
}

.access-brand small,
.access-footer small,
.access-footer span{
  font-family: "Inter", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-brand small{
  color: var(--text-soft);
  font-size: 0.70rem;
}

.access-card h1{
  margin: 0 0 14px;
  max-width: 520px;
  color: rgba(48, 36, 27, 0.94);
  font-size: clamp(2.45rem, 5.2vw, 4.25rem);
  line-height: 0.98;
}

.access-copy{
  margin: 0;
  max-width: 470px;
  color: rgba(74, 58, 43, 0.76);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.access-form,
.access-error{
  grid-column: 2;
  position: relative;
  z-index: 1;
}

.access-error{
  width: min(330px, 100%);
  justify-self: end;
}

.access-form{
  width: min(330px, 100%);
  justify-self: end;
  gap: 9px;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(34, 28, 23, 0.08);
  backdrop-filter: blur(34px) saturate(1.22);
}

.access-login-language{
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.access-login-language::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(48, 36, 27, 0.66);
  border-bottom: 1px solid rgba(48, 36, 27, 0.66);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.access-login-language select{
  appearance: none;
  min-width: 132px;
  min-height: 32px;
  padding: 0 28px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.12);
  color: rgba(48, 36, 27, 0.82);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  outline: none;
  backdrop-filter: blur(18px) saturate(1.08);
}

.access-login-language select:focus{
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.access-login-language select option:disabled{
  color: rgba(48, 36, 27, 0.42);
}

.access-form::before{
  content: none;
}

.access-form-eyebrow{
  margin: 0 0 2px;
  color: rgba(74, 58, 43, 0.68);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.access-form input{
  border-color: rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: var(--public-ink);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  text-align: left;
  backdrop-filter: blur(22px) saturate(1.08);
}

.access-form input::placeholder{
  color: rgba(74, 58, 43, 0.54);
}

.access-form button{
  min-width: auto;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(61, 50, 42, 0.82), rgba(36, 30, 26, 0.74)),
    rgba(48, 40, 34, 0.58);
  color: rgba(255, 252, 246, 0.96);
  box-shadow: 0 8px 22px rgba(34, 28, 23, 0.10);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.access-form button:hover{
  background:
    linear-gradient(180deg, rgba(72, 60, 50, 0.88), rgba(41, 34, 29, 0.80)),
    rgba(48, 40, 34, 0.64);
  border-color: rgba(255, 255, 255, 0.28);
}

.access-guest-line{
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 100%;
  max-width: 100%;
  margin: -2px 0 10px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(74, 58, 43, 0.72);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: none;
}

.access-guest-line[hidden]{
  display: none;
}

.access-guest-line-intro,
.access-guest-line-name{
  display: block;
  max-width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.access-guest-line-intro{
  color: rgba(74, 58, 43, 0.56);
  font-size: 0.90rem;
  font-weight: 400;
  line-height: 1.15;
}

.access-guest-line-name{
  color: rgba(48, 36, 27, 0.74);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.12;
  margin-top: 0;
}

.access-error{
  margin: -8px 0 0;
  color: #9f3e3e;
  text-align: center;
}

.access-footer{
  grid-column: 1 / -1;
  position: absolute;
  left: clamp(22px, 4vw, 48px);
  right: clamp(22px, 4vw, 48px);
  bottom: clamp(15px, 2.2vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(74, 58, 43, 0.54);
  z-index: 1;
}

.access-footer span{
  font-size: 0.62rem;
}

.access-footer small{
  font-size: 0.60rem;
}

.site-header{
  top: 12px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.18)),
    rgba(246, 241, 233, 0.52);
  box-shadow: 0 14px 34px rgba(34, 28, 23, 0.07);
  backdrop-filter: blur(22px) saturate(1.12);
}

.header-shell{
  width: 100%;
  min-height: 68px;
  padding: 0 18px;
}

.main-nav{
  gap: clamp(12px, 2vw, 24px);
}

.main-nav a{
  color: rgba(48, 36, 27, 0.70);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.main-nav a::after{
  bottom: -10px;
  background: rgba(174, 143, 96, 0.58);
}

.lang-switcher button{
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(48, 36, 27, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}

.lang-switcher button.is-active{
  background: rgba(48, 40, 34, 0.10);
  border-color: rgba(48, 40, 34, 0.18);
}

.hero{
  width: 100%;
  min-height: calc(86vh - 28px);
  margin: -80px auto 0;
  padding: 118px max(24px, calc((100vw - var(--max)) / 2)) 68px;
  place-items: end center;
  background:
    linear-gradient(180deg, rgba(243, 239, 231, 0.16), rgba(243, 239, 231, 0.74) 82%, rgba(243, 239, 231, 0.96)),
    url("images/hero.jpeg") center center / cover no-repeat;
}

.hero::before{
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(100deg, rgba(35, 31, 28, 0.34), rgba(35, 31, 28, 0.06) 52%, rgba(243, 239, 231, 0.18));
  filter: none;
  opacity: 1;
  transform: none;
}

.hero-card{
  width: min(1040px, calc(100% - 48px));
  min-height: auto;
  padding: clamp(38px, 5vw, 62px);
  border: 1px solid var(--public-smoke-border);
  border-radius: 18px;
  background: var(--public-smoke-glass);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(135%);
}

.hero-card::before{
  inset: 0;
  border: 0;
  border-radius: inherit;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.07) 16%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.12), transparent 30%);
}

.hero-card::after{
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.hero-card-signature{
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  color: rgba(255, 252, 246, 0.96);
  font-size: clamp(4rem, 8vw, 7.4rem);
  text-align: center;
  white-space: normal;
}

.hero-content{
  max-width: 850px;
  margin-top: 18px;
  color: rgba(255, 252, 246, 0.94);
}

.hero-date,
.hero-location{
  color: rgba(255, 252, 246, 0.88);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-location{
  margin-bottom: 22px;
}

.hero-quote{
  max-width: 620px;
  color: rgba(255, 252, 246, 0.84);
  font-size: clamp(1.35rem, 2vw, 1.68rem);
}

.hero-family{
  margin-bottom: 28px;
}

.hero-family-kicker,
.hero-parent-role{
  color: rgba(255, 252, 246, 0.62);
}

.hero-parent-group{
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
}

.hero-parent-names{
  color: rgba(255, 252, 246, 0.92);
}

.hero .btn-primary{
  min-width: 230px;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.10);
  color: rgba(255, 252, 246, 0.96);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: none;
}

.hero .btn-primary:hover{
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.14);
}

body:not(.dashboard-body) .premium-card,
body:not(.dashboard-body) .premium-map-card{
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: var(--public-light-glass);
  box-shadow: 0 14px 34px rgba(34, 28, 23, 0.06);
  backdrop-filter: blur(18px) saturate(1.08);
}

body:not(.dashboard-body) .premium-card::before,
body:not(.dashboard-body) .premium-map-card::before{
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 36%);
}

body.access-pending .guest-app,
body.access-locked .guest-app,
body.access-pending .site-footer,
body.access-locked .site-footer{
  visibility: hidden;
  pointer-events: none;
}

body.access-granted .guest-app,
body.access-granted .site-footer{
  visibility: visible;
}

body:not(.dashboard-body) .section-kicker,
body:not(.dashboard-body) .guest-honor-badge,
body:not(.dashboard-body) #guestHotelStat .guest-label,
body:not(.dashboard-body) #guestHotelStat strong{
  color: rgba(133, 100, 58, 0.82);
}

body:not(.dashboard-body) .btn-primary,
body:not(.dashboard-body) form button,
body:not(.dashboard-body) .gift-btn,
body:not(.dashboard-body) .gallery-more-btn,
body:not(.dashboard-body) .rsvp-modal-btn,
body:not(.dashboard-body) .gift-modal-links a{
  border-radius: 10px;
}

@media (max-width: 1100px){
  .access-card{
    grid-template-columns: 1fr;
    align-content: center;
    gap: 20px;
    min-height: calc(100vh - 48px);
    padding-bottom: 78px;
  }

  .access-brand-panel,
  .access-form,
  .access-error{
    grid-column: 1;
  }

  .access-form,
  .access-error{
    justify-self: center;
  }

  .access-brand-panel{
    grid-row: auto;
  }

  .access-brand-panel,
  .access-card h1,
  .access-copy{
    max-width: 100%;
    text-align: center;
  }

  .access-brand-row{
    margin: 0 auto;
  }

  .access-brand small{
    text-align: center;
  }

  .site-header{
    top: 8px;
  }
}

@media (max-width: 680px){
  .access-gate{
    padding: 12px;
  }

  .access-card{
    min-height: calc(100vh - 24px);
    padding: 24px 18px 78px;
    border-radius: 16px;
  }

  .access-brand{
    margin-bottom: 18px;
  }

  .access-brand-logo{
    height: 58px;
  }

  .access-card h1{
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

  .access-guest-line{
    text-align: center;
  }

  .access-login-language{
    justify-content: center;
  }

  .access-form{
    padding: 22px 16px;
  }

  .access-footer{
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
  }

  .site-header{
    width: calc(100% - 18px);
    border-radius: 14px;
  }

  .header-shell{
    padding: 12px;
  }

  .main-nav{
    gap: 10px 14px;
  }

  .main-nav a{
    font-size: 0.66rem;
  }

  .lang-switcher button{
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .hero{
    min-height: auto;
    margin-top: -112px;
    padding: 158px 14px 42px;
  }

  .hero-card{
    width: 100%;
    padding: 34px 18px;
  }

  .hero-card-signature{
    font-size: clamp(3.3rem, 18vw, 5rem);
    padding: 0;
  }

  .hero-content{
    margin-top: 10px;
  }

  .hero-date,
  .hero-location{
    font-size: 0.72rem;
    letter-spacing: 0.10em;
  }

  .hero-parent-group{
    border-radius: 12px;
  }
}

/* =========================================================
   EVENTOS GUEST EXPERIENCE
   Private guest portal shell, navigation and editorial sections
   ========================================================= */

body:not(.dashboard-body){
  --guest-shell-bg: #ece8df;
  --guest-topbar-height: 118px;
  --guest-anchor-gap: 30px;
  --guest-anchor-offset: calc(var(--guest-topbar-height) + var(--guest-anchor-gap));
  --guest-panel-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
  --guest-smoke-bg:
    linear-gradient(145deg, rgba(34, 35, 39, 0.44), rgba(22, 23, 27, 0.30));
  --guest-line: rgba(255, 255, 255, 0.34);
  --guest-line-dark: rgba(64, 53, 43, 0.10);
  --guest-ink: rgba(45, 36, 29, 0.92);
  --guest-ink-soft: rgba(73, 59, 47, 0.64);
  --guest-champagne: rgba(150, 118, 76, 0.70);
  --guest-icon-warm: rgba(213, 190, 134, 0.88);
  background:
    linear-gradient(115deg, rgba(247, 244, 238, 0.78), rgba(226, 222, 214, 0.58)),
    url("images/login-bg-main.webp") center top / cover fixed no-repeat;
}

body:not(.dashboard-body)::before{
  opacity: 0;
}

.guest-app{
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 14px;
  width: min(1380px, calc(100% - 28px));
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 14px 0;
  overflow: hidden;
}

.guest-app::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.36), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(235, 230, 221, 0.56));
  pointer-events: none;
}

.guest-sidebar{
  position: sticky;
  top: 14px;
  z-index: 80;
  align-self: start;
  min-height: calc(100vh - 28px);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: var(--guest-smoke-bg);
  box-shadow:
    0 14px 34px rgba(24, 22, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(122%);
  -webkit-backdrop-filter: blur(20px) saturate(122%);
  overflow: hidden;
}

.guest-sidebar::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 34%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12), transparent 26%);
  pointer-events: none;
}

.guest-sidebar > *{
  position: relative;
  z-index: 1;
}

.guest-sidebar-brand{
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 7px 6px 13px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.guest-brand-mark{
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.guest-brand-mark img{
  width: 24px;
  height: 24px;
  opacity: 0.74;
  filter:
    brightness(0)
    saturate(100%)
    invert(82%)
    sepia(20%)
    saturate(640%)
    hue-rotate(4deg)
    brightness(91%)
    contrast(88%)
    drop-shadow(0 0 4px rgba(213, 190, 134, 0.14));
}

.guest-brand-copy{
  display: grid;
  gap: 3px;
  min-width: 0;
  font-family: "Inter", sans-serif;
}

.guest-brand-copy strong{
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.guest-brand-copy small{
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-nav{
  display: grid;
  gap: 3px;
}

.guest-nav-link{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 37px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.guest-nav-link img{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.72;
  filter:
    brightness(0)
    saturate(100%)
    invert(82%)
    sepia(20%)
    saturate(640%)
    hue-rotate(4deg)
    brightness(91%)
    contrast(88%)
    drop-shadow(0 0 4px rgba(213, 190, 134, 0.12));
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.guest-nav-link span{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-nav-link:hover,
.guest-nav-link.is-active{
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.12);
}

.guest-nav-link.is-active{
  box-shadow:
    inset 2px 0 0 rgba(213, 190, 134, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.guest-nav-link:hover img,
.guest-nav-link.is-active img{
  opacity: 0.88;
  filter:
    brightness(0)
    saturate(100%)
    invert(85%)
    sepia(21%)
    saturate(690%)
    hue-rotate(5deg)
    brightness(93%)
    contrast(90%)
    drop-shadow(0 0 6px rgba(213, 190, 134, 0.18));
}

.guest-lang-switcher{
  position: relative;
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guest-lang-switcher select{
  width: 100%;
  min-height: 34px;
  padding: 7px 30px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.guest-lang-switcher::after{
  content: "⌄";
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--guest-icon-warm);
  font-size: 0.78rem;
  line-height: 1;
  pointer-events: none;
}

.guest-lang-switcher select:focus,
.guest-lang-switcher select:hover{
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.22);
}

.guest-lang-switcher select option{
  color: #2f2924;
  background: #f6f1e8;
}

.guest-main-shell{
  min-width: 0;
  height: calc(100vh - 28px);
  height: calc(100dvh - 28px);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--guest-anchor-offset);
  scrollbar-color: rgba(213, 190, 134, 0.42) rgba(255, 255, 255, 0.12);
}

.guest-main{
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding-bottom: 8px;
}

.guest-main .hero,
.guest-main .guest-welcome-letter,
.guest-main .details,
.guest-main .schedule,
.guest-main .dresscode,
.guest-main .travel,
.guest-main .gallery,
.guest-main .gift,
.guest-main .rsvp,
.guest-main .guest-table-section,
.guest-main .guest-experience{
  width: 100%;
  padding: 28px 0;
  scroll-margin-top: var(--guest-anchor-offset);
}

.guest-main .hero{
  position: sticky;
  top: 0;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(220px, auto);
  align-items: center;
  gap: clamp(18px, 4vw, 52px);
  min-height: 118px;
  margin: 0;
  padding: 22px clamp(24px, 3.2vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: var(--guest-smoke-bg);
  box-shadow:
    0 14px 34px rgba(24, 22, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(122%);
  -webkit-backdrop-filter: blur(20px) saturate(122%);
  overflow: hidden;
  z-index: 70;
}

.guest-main .hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 26%);
  opacity: 1;
  filter: none;
  transform: none;
  pointer-events: none;
}

.guest-event-topbar-copy{
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin-left: 0;
}

.guest-event-kicker,
.guest-event-subtitle{
  font-family: "Inter", sans-serif;
}

.guest-event-kicker{
  margin: 0 0 6px;
  color: var(--guest-icon-warm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guest-event-topbar h1{
  margin: 0 0 5px;
  color: rgba(255, 252, 246, 0.94);
  font-size: clamp(1.78rem, 2.4vw, 2.32rem);
  font-weight: 500;
  line-height: 1;
}

.guest-event-subtitle{
  margin: 0;
  color: rgba(255, 252, 246, 0.62);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

.guest-event-countdown{
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: center;
  margin: 0;
  color: var(--guest-icon-warm);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(213, 190, 134, 0.10);
}

.guest-welcome-letter{
  padding-top: 12px !important;
  padding-bottom: 34px !important;
}

.guest-letter-paper{
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(116, 96, 74, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.84), rgba(248, 243, 233, 0.76)),
    rgba(248, 243, 233, 0.82);
  box-shadow:
    0 16px 40px rgba(55, 45, 35, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  overflow: hidden;
}

.guest-letter-paper::before{
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(116, 96, 74, 0.08);
  pointer-events: none;
}

.guest-letter-content{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  color: rgba(52, 42, 34, 0.88);
}

.guest-letter-salutation{
  margin: 0 0 2px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-style: italic;
  line-height: 1.1;
}

.guest-letter-content p{
  margin: 0;
  font-size: clamp(1.12rem, 1.7vw, 1.28rem);
  line-height: 1.72;
}

.guest-letter-signature{
  display: grid;
  gap: 2px;
  margin-top: 8px;
  font-size: 1.12rem;
}

.guest-letter-signature strong{
  font-family: "Italianno", cursive;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}

.guest-letter-blessing{
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(116, 96, 74, 0.12);
}

.guest-letter-blessing p{
  margin: 0 0 4px;
  color: rgba(132, 102, 64, 0.76);
  font-family: "Inter", sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.guest-letter-blessing span{
  font-size: 1.05rem;
  line-height: 1.35;
}

.guest-wax-seal{
  position: absolute;
  right: clamp(24px, 4vw, 46px);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 1;
  display: block;
  width: clamp(72px, 8vw, 94px);
  height: auto;
  opacity: 0.93;
  pointer-events: none;
  filter:
    drop-shadow(0 9px 14px rgba(80, 22, 24, 0.14))
    drop-shadow(0 0 10px rgba(213, 190, 134, 0.08));
}

.guest-main .section-inner{
  width: 100%;
}

.guest-main .section-heading{
  display: grid;
  justify-items: start;
  gap: 4px;
  margin: 0 0 18px;
  text-align: left;
}

.guest-main .section-kicker{
  color: var(--guest-champagne) !important;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.guest-main .details h2,
.guest-main .schedule h2,
.guest-main .dresscode h2,
.guest-main .travel h2,
.guest-main .gallery h2,
.guest-main .gift h2,
.guest-main .rsvp h2,
.guest-main .guest-table-section h2,
.guest-main .guest-experience > .section-inner > .section-heading h2{
  text-align: left;
  color: var(--guest-ink);
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  line-height: 1;
  font-weight: 500;
}

body:not(.dashboard-body) .guest-main .premium-card,
body:not(.dashboard-body) .guest-main .premium-map-card{
  border: 1px solid var(--guest-line);
  border-radius: 14px;
  background: var(--guest-panel-bg);
  box-shadow: 0 14px 34px rgba(34, 28, 23, 0.055);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

body:not(.dashboard-body) .guest-main .premium-card::before,
body:not(.dashboard-body) .guest-main .premium-map-card::before{
  inset: 0;
  border: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%);
}

.guest-main .guest-experience{
  padding-top: 34px;
  border-top: 1px solid rgba(64, 53, 43, 0.08);
}

.guest-main .guest-card,
.guest-main .guest-fallback{
  padding: clamp(24px, 3.2vw, 36px);
  overflow: hidden;
}

.guest-main .guest-card{
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.35fr);
  gap: 28px;
  align-items: center;
}

.guest-main .guest-card-head{
  margin: 0;
  text-align: left;
}

.guest-main .guest-honor-badge{
  margin: 0 0 12px;
  text-align: left;
  color: var(--guest-champagne) !important;
}

.guest-main .guest-card-head h2{
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.98;
  font-weight: 500;
}

.guest-main .guest-intro{
  grid-column: 1;
  margin: 12px 0 0;
  text-align: left;
  font-size: 1.12rem;
}

.guest-main .guest-grid{
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.guest-main .guest-grid.no-hotel{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
}

.guest-main .guest-stat{
  display: grid;
  align-content: center;
  min-height: 124px;
  padding: 18px 14px;
  border: 1px solid var(--guest-line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  text-align: left;
}

.guest-main #guestTableStat{
  scroll-margin-top: 24px;
}

.guest-main .guest-label{
  color: var(--guest-ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.guest-main .guest-stat strong{
  color: var(--guest-ink);
  font-size: clamp(1.16rem, 1.8vw, 1.44rem);
  font-weight: 500;
}

.guest-main #guestHotelStat{
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(150, 118, 76, 0.20);
  box-shadow: none;
}

.guest-main .guest-hotel-note{
  margin: 8px 0 0;
  color: var(--guest-ink-soft);
}

.guest-main .guest-message{
  grid-column: 1 / -1;
  max-width: none;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--guest-line-dark);
  text-align: left;
  font-size: 1.08rem;
  color: var(--guest-ink-soft);
}

.guest-main .guest-summary-card{
  border-radius: 12px;
}

.guest-main .guest-table-panel{
  display: grid;
  gap: 8px;
  padding: clamp(24px, 3vw, 32px);
}

.guest-main .guest-table-panel strong{
  color: var(--guest-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}

.guest-main .guest-table-panel p{
  max-width: 640px;
  margin: 0;
  color: var(--guest-ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.guest-main .details-grid{
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
}

.guest-main .details-copy,
.guest-main .travel-intro,
.guest-main .gallery-intro,
.guest-main .travel-practical,
.guest-main .gift-main,
.guest-main .gift-option,
.guest-main .hotel-card,
.guest-main .dresscode-panel,
.guest-main .timeline,
.guest-main .allergy-note,
.guest-main .guest-table-panel{
  padding: clamp(22px, 3vw, 30px);
}

.guest-main .details-copy,
.guest-main .gift-main,
.guest-main .gift-option,
.guest-main .allergy-note,
.guest-main .rsvp-text,
.guest-main .rsvp-guest-note{
  text-align: left;
}

.guest-main .details-line,
.guest-main .details-address,
.guest-main .travel-intro p,
.guest-main .gallery-intro p,
.guest-main .gift-main p,
.guest-main .gift-option p,
.guest-main .timeline-copy p,
.guest-main .hotel-card p,
.guest-main .travel-tips li,
.guest-main .allergy-note p,
.guest-main .rsvp-text{
  color: var(--guest-ink-soft);
  font-size: 1.08rem;
}

.guest-main .details-address{
  line-height: 1.5;
}

.guest-main .mini-info-item,
.guest-main .countdown-item{
  border-radius: 12px;
  border-color: var(--guest-line-dark);
  background: rgba(255, 255, 255, 0.16);
}

.guest-main .timeline-item{
  border-radius: 10px;
}

.guest-main .timeline-time,
.guest-main .hotel-link,
.guest-main .map-link,
.guest-main .rsvp-guest-note,
.guest-main .mini-label,
.guest-main .countdown-item small{
  color: var(--guest-champagne);
}

.guest-main .timeline-copy h3,
.guest-main .hotel-card h3,
.guest-main .gift-option h3,
.guest-main .travel-practical h3,
.guest-main .allergy-note h3,
.guest-main .dresscode-panel-copy h3,
.guest-main .dresscode-panel-palette h3{
  color: var(--guest-ink);
  font-weight: 500;
}

.guest-main .hotel-grid{
  gap: 14px;
}

.guest-main .gallery-grid{
  gap: 12px;
}

.guest-main .gallery-item{
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(34, 28, 23, 0.08);
}

.guest-main form{
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--guest-line);
  border-radius: 14px;
  background: var(--guest-panel-bg);
  box-shadow: 0 14px 34px rgba(34, 28, 23, 0.055);
  backdrop-filter: blur(18px) saturate(1.08);
}

.guest-main input,
.guest-main select,
.guest-main textarea{
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
}

.guest-main form button,
.guest-main .gift-btn,
.guest-main .gallery-more-btn{
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.guest-main .gift-btn,
.guest-main form button{
  background:
    linear-gradient(180deg, rgba(61, 50, 42, 0.82), rgba(36, 30, 26, 0.74)),
    rgba(48, 40, 34, 0.58);
  border-color: rgba(255, 255, 255, 0.20);
}

.guest-main .gift-btn-secondary,
.guest-main .gallery-more-btn{
  background: rgba(255, 255, 255, 0.18);
  color: var(--guest-ink);
  border-color: var(--guest-line-dark);
}

.site-footer{
  margin: 28px 0 0;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(64, 53, 43, 0.08);
  background: transparent;
  backdrop-filter: none;
}

.footer-inner{
  width: 100%;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footer-line,
.footer-subline,
.footer-nav a{
  font-family: "Inter", sans-serif;
}

.footer-line{
  margin: 0;
  color: var(--guest-ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-subline{
  margin: 0;
  color: rgba(73, 59, 47, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav{
  margin-top: 4px;
}

.footer-nav a{
  color: var(--guest-ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.footer-help{
  max-width: 420px;
  margin: 2px 0 0;
  color: rgba(73, 59, 47, 0.46);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  line-height: 1.45;
}

@media (max-width: 1180px){
  .guest-app{
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .guest-sidebar{
    padding: 10px 8px;
  }

  .guest-sidebar-brand{
    justify-content: center;
    padding: 8px 0 12px;
  }

  .guest-brand-copy,
  .guest-nav-link span{
    display: none;
  }

  .guest-nav-link{
    justify-content: center;
    padding: 9px;
  }

  .guest-lang-switcher select{
    width: 52px;
    min-width: 52px;
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .guest-lang-switcher::after{
    display: none;
  }
}

@media (max-width: 920px){
  .guest-app{
    width: min(100% - 22px, 760px);
    display: block;
    padding-top: 10px;
    padding-bottom: 86px;
  }

  .guest-sidebar{
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    z-index: 120;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .guest-sidebar-brand{
    display: none;
  }

  .guest-nav{
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .guest-nav::-webkit-scrollbar{
    display: none;
  }

  .guest-nav-link{
    flex: 0 0 auto;
    min-width: 46px;
    min-height: 44px;
    padding: 8px 10px;
  }

  .guest-nav-link img{
    width: 19px;
    height: 19px;
  }

  .guest-lang-switcher{
    margin: 0;
    padding: 0 0 0 8px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    align-content: center;
  }

  .guest-lang-switcher select{
    width: clamp(122px, 24vw, 156px);
    min-width: 0;
    min-height: 32px;
    padding: 6px 28px 6px 9px;
    color: rgba(255, 255, 255, 0.78);
  }

  .guest-lang-switcher::after{
    right: 10px;
    bottom: 12px;
  }

  .guest-main .guest-card{
    grid-template-columns: 1fr;
  }

  .guest-main .guest-grid,
  .guest-main .guest-grid.no-hotel,
  .guest-main .details-grid,
  .guest-main .gift-grid,
  .guest-main .hotel-grid,
  .guest-main .gallery-grid{
    grid-template-columns: 1fr;
  }

  .guest-main .guest-grid{
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 680px){
  .guest-app{
    width: calc(100% - 18px);
  }

  .guest-main{
    gap: 12px;
  }

  .guest-main .hero{
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

  .guest-event-topbar-copy{
    width: 100%;
    margin-left: 0;
  }

  .guest-event-countdown{
    justify-self: start;
    margin: 0;
    text-align: left;
    white-space: normal;
  }

  .guest-event-topbar h1{
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .guest-letter-paper{
    padding: 30px 20px 82px;
  }

  .guest-wax-seal{
    right: 20px;
    bottom: 20px;
    width: 66px;
  }

  .guest-main .details,
  .guest-main .schedule,
  .guest-main .dresscode,
  .guest-main .travel,
  .guest-main .gallery,
  .guest-main .gift,
  .guest-main .rsvp,
  .guest-main .guest-table-section,
  .guest-main .guest-experience{
    padding: 22px 0;
  }

  .guest-main .guest-card-head h2{
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .guest-main .countdown-grid,
  .guest-main .palette-grid{
    grid-template-columns: 1fr 1fr;
  }

  .footer-line,
  .footer-subline{
    max-width: 320px;
    line-height: 1.5;
  }
}

/* =========================================================
   GUEST EXPERIENCE — CLEAN SCROLL / DROPDOWN PATCH
   ========================================================= */

body:not(.dashboard-body){
  --guest-sidebar-w: 218px;
  --guest-topbar-height: 118px;
  --guest-shell-pad: 14px;
  --guest-anchor-offset: 150px;
}

/* Sin scroll interno raro */
.guest-app{
  min-height: 100dvh;
  height: auto;
  overflow: visible;
  align-items: flex-start;
}

/* Sidebar fija, pero sin crear scroll artificial */
.guest-sidebar{
  position: sticky;
  top: var(--guest-shell-pad);
  height: calc(100dvh - (var(--guest-shell-pad) * 2));
  align-self: flex-start;
}

/* El contenido derecho ya no tiene scroll propio */
.guest-main-shell{
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  padding-right: 0;
}

/* Main normal */
.guest-main{
  width: 100%;
  display: block;
  padding-bottom: 96px;
}

/* Hero sticky normal */
.guest-event-topbar{
  position: sticky;
  top: var(--guest-shell-pad);
  z-index: 40;
  width: 100%;
  min-height: var(--guest-topbar-height);
  margin: 0 0 44px;
  padding: 22px clamp(34px, 4vw, 58px) 22px clamp(72px, 9vw, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  border-radius: 16px;
}

/* Desactivar comportamiento heredado del hero clásico */
.guest-event-topbar.hero{
  place-items: initial;
  overflow: visible;
}

.guest-event-topbar.hero::before{
  display: none;
}

.guest-event-topbar-copy{
  text-align: left;
  justify-self: start;
}

.guest-event-countdown{
  justify-self: end;
  white-space: nowrap;
}

/* Anclas: al dar click no quedan tapadas por el hero */
.guest-main section[id],
#guestInvitationLetter,
#guestOverview,
#details,
#schedule,
#dresscode,
#travel,
#gallery,
#gift,
#rsvp,
#guestTableSection{
  scroll-margin-top: var(--guest-anchor-offset);
}

/* Carta separada */
#guestInvitationLetter{
  padding: 0 0 72px;
}

/* Resumen separado de la carta */
#guestOverview{
  padding: 72px 0 84px;
  border-top: 1px solid rgba(80, 70, 58, 0.10);
}

/* Secciones generales */
body:not(.dashboard-body) .details,
body:not(.dashboard-body) .schedule,
body:not(.dashboard-body) .dresscode,
body:not(.dashboard-body) .travel,
body:not(.dashboard-body) .gallery,
body:not(.dashboard-body) .gift,
body:not(.dashboard-body) .rsvp,
body:not(.dashboard-body) .guest-table-section{
  padding: 84px 0;
  border-top: 1px solid rgba(80, 70, 58, 0.08);
}

/* Quitar definitivamente la barrita superior */
.scroll-progress{
  display: none !important;
}

/* Idiomas como dropdown simple abajo */
.guest-lang-switcher{
  position: relative;
  margin-top: auto;
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guest-lang-switcher select{
  width: 100%;
  min-height: 36px;
  padding: 8px 32px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.guest-lang-switcher::after{
  content: "⌄";
  position: absolute;
  right: 14px;
  bottom: 13px;
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1;
  pointer-events: none;
}

.guest-lang-switcher select:focus,
.guest-lang-switcher select:hover{
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
  border-color: rgba(213, 190, 134, 0.32);
}

.guest-lang-switcher select option{
  color: #2f2924;
  background: #f6f1e8;
}

/* Mobile */
@media (max-width: 860px){
  .guest-app{
    display: block;
    width: min(100%, calc(100% - 18px));
    padding: 9px 0 24px;
  }

  .guest-sidebar{
    position: sticky;
    top: 9px;
    z-index: 60;
    height: auto;
    margin-bottom: 10px;
  }

  .guest-event-topbar{
    top: 9px;
    min-height: auto;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guest-event-countdown{
    justify-self: start;
    white-space: normal;
  }

  .guest-main section[id],
  #guestInvitationLetter,
  #guestOverview,
  #details,
  #schedule,
  #dresscode,
  #travel,
  #gallery,
  #gift,
  #rsvp,
  #guestTableSection{
    scroll-margin-top: 210px;
  }
}

/* =========================================================
   GUEST EXPERIENCE — SINGLE SECTION VIEW
   ========================================================= */

.scroll-progress{
  display: none !important;
}

.guest-main-shell{
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
}

.guest-app{
  height: auto !important;
  min-height: 100dvh;
  overflow: visible !important;
}

.guest-sidebar{
  position: sticky;
  top: 14px;
  height: calc(100dvh - 28px);
  align-self: flex-start;
}

.guest-event-topbar{
  position: sticky;
  top: 14px;
  z-index: 40;
}

.guest-section-is-hidden{
  display: none !important;
}

.guest-main .guest-view-section{
  padding-top: 0;
}

/* La carta debe sentirse como vista completa */
#guestInvitationLetter{
  min-height: calc(100dvh - 180px);
  padding-bottom: 44px;
}

/* Cada sección activa arranca limpia debajo del hero */
#guestOverview,
#details,
#schedule,
#dresscode,
#travel,
#gallery,
#gift,
#rsvp,
#guestTableSection{
  min-height: calc(100dvh - 180px);
  padding-top: 44px;
  padding-bottom: 72px;
  border-top: none !important;
}

/* Footer queda natural después de la sección activa */
.site-footer{
  margin-top: 24px;
}

/* Selector de idioma: se queda dropdown, simple */
.guest-lang-switcher{
  position: relative;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.guest-lang-switcher select{
  width: 100%;
  min-height: 36px;
  padding: 8px 32px 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05)),
    rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 650;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.guest-lang-switcher::after{
  content: "⌄";
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--gold);
  pointer-events: none;
  font-size: 0.78rem;
}

.guest-lang-switcher select option{
  color: #2f2924;
  background: #f6f1e8;
}

@media (max-width: 860px){
  .guest-sidebar{
    position: sticky;
    top: 9px;
    height: auto;
    z-index: 60;
  }

  .guest-event-topbar{
    top: 9px;
  }

  #guestInvitationLetter,
  #guestOverview,
  #details,
  #schedule,
  #dresscode,
  #travel,
  #gallery,
  #gift,
  #rsvp,
  #guestTableSection{
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 56px;
  }
}

/* =========================================================
   GUEST EXPERIENCE - INTERNAL SECTION FINISH
   Light dashboard panels for the single-section guest views
   ========================================================= */

body:not(.dashboard-body){
  --guest-section-line: rgba(64, 53, 43, 0.105);
  --guest-section-line-warm: rgba(150, 118, 76, 0.22);
  --guest-section-fill: linear-gradient(145deg, rgba(255, 255, 255, 0.31), rgba(255, 255, 255, 0.13));
  --guest-section-fill-soft: rgba(255, 255, 255, 0.18);
  --guest-field-fill: rgba(255, 255, 255, 0.30);
  --guest-focus: rgba(150, 118, 76, 0.16);
}

.guest-main .section-inner{
  max-width: 1080px;
  margin: 0 auto;
}

#guestOverview .section-inner,
#details .section-inner,
#schedule .section-inner,
#dresscode .section-inner,
#travel .section-inner,
#gallery .section-inner,
#gift .section-inner,
#rsvp .section-inner,
#guestTableSection .section-inner{
  padding: 0 clamp(4px, 1vw, 12px);
}

.guest-main .section-heading{
  position: relative;
  margin-bottom: clamp(20px, 3vw, 30px);
  padding-bottom: 14px;
}

.guest-main .section-heading::after{
  content: "";
  width: min(100%, 360px);
  height: 1px;
  background: linear-gradient(90deg, rgba(150, 118, 76, 0.34), rgba(64, 53, 43, 0.06), transparent);
}

.guest-main .section-kicker{
  font-family: "Inter", sans-serif;
  font-weight: 760;
}

.guest-main .details h2,
.guest-main .schedule h2,
.guest-main .dresscode h2,
.guest-main .travel h2,
.guest-main .gallery h2,
.guest-main .gift h2,
.guest-main .rsvp h2,
.guest-main .guest-table-section h2,
.guest-main .guest-experience > .section-inner > .section-heading h2{
  letter-spacing: 0;
}

body:not(.dashboard-body) .guest-main .premium-card,
body:not(.dashboard-body) .guest-main .premium-map-card,
.guest-main form{
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: var(--guest-section-fill);
  box-shadow:
    0 12px 30px rgba(34, 28, 23, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Resumen */
.guest-main .guest-summary-card{
  position: relative;
  grid-template-columns: minmax(260px, 0.88fr) minmax(420px, 1.12fr);
  align-items: stretch;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 16px;
}

.guest-main .guest-summary-card::after{
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(64, 53, 43, 0.055);
  border-radius: 10px;
  pointer-events: none;
}

.guest-main .guest-card-head{
  display: grid;
  align-content: start;
}

.guest-main .guest-card-head h2{
  margin: 0;
  max-width: 11ch;
}

.guest-main .guest-intro{
  max-width: 420px;
  margin-top: 18px;
  color: var(--guest-ink-soft);
  line-height: 1.65;
}

.guest-main .guest-grid{
  align-self: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guest-main .guest-grid.no-hotel{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guest-main .guest-stat{
  position: relative;
  min-height: 118px;
  padding: 17px 16px 15px;
  border-color: var(--guest-section-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.17);
  overflow: hidden;
}

.guest-main .guest-stat::before{
  content: "";
  width: 30px;
  height: 1px;
  margin-bottom: 12px;
  background: rgba(150, 118, 76, 0.45);
}

.guest-main .guest-label{
  font-family: "Inter", sans-serif;
  font-weight: 760;
  line-height: 1.35;
}

.guest-main .guest-stat strong{
  margin-top: 6px;
  line-height: 1.15;
}

.guest-main .guest-message{
  position: relative;
  margin-top: 8px;
  padding: 22px 24px 22px 28px;
  border: 1px solid var(--guest-section-line-warm);
  border-left: 3px solid rgba(150, 118, 76, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(150, 118, 76, 0.045);
  color: rgba(52, 42, 34, 0.72);
  font-size: clamp(1.13rem, 1.6vw, 1.32rem);
  font-style: italic;
  line-height: 1.62;
}

.guest-main .guest-message::before{
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 14px;
  background: rgba(150, 118, 76, 0.48);
}

/* Detalles */
.guest-main .details-grid{
  grid-template-columns: minmax(310px, 0.78fr) minmax(420px, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.guest-main .details-copy{
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 100%;
  border-radius: 16px;
}

.guest-main .details-line{
  margin: 0;
  color: var(--guest-ink);
  font-size: clamp(1.38rem, 2.1vw, 1.78rem);
  line-height: 1.18;
}

.guest-main .details-line + .details-line{
  margin-top: 6px;
  color: var(--guest-champagne);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guest-main .mini-info-grid{
  gap: 10px;
  margin: 24px 0;
}

.guest-main .mini-info-item{
  min-height: 104px;
  padding: 16px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
}

.guest-main .mini-info-item strong{
  color: var(--guest-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.18;
}

.guest-main .details-address{
  margin: 0 0 22px;
  padding-top: 22px;
  border-top: 1px solid var(--guest-section-line);
  color: var(--guest-ink-soft);
  font-size: 1.13rem;
}

.guest-main .map-link,
.guest-main .hotel-link{
  width: fit-content;
  border-bottom-color: rgba(150, 118, 76, 0.34);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.guest-main .details-map{
  min-height: 440px;
  padding: 10px;
  border-radius: 16px;
}

.guest-main .map-frame{
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(150, 118, 76, 0.06);
}

.guest-main .map-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%);
}

.guest-main .details-map iframe{
  min-height: 420px;
  filter: saturate(0.74) contrast(0.96) brightness(1.03);
}

/* Agenda */
.guest-main .timeline{
  position: relative;
  display: grid;
  gap: 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 16px;
}

.guest-main .timeline::before{
  content: "";
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: clamp(118px, 14vw, 150px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(150, 118, 76, 0.40), rgba(64, 53, 43, 0.08), transparent);
}

.guest-main .timeline-item{
  position: relative;
  grid-template-columns: minmax(86px, 120px) minmax(0, 1fr);
  gap: 34px;
  padding: 20px 0;
  border-radius: 0;
}

.guest-main .timeline-item + .timeline-item{
  border-top: 1px solid var(--guest-section-line);
}

.guest-main .timeline-item::before{
  content: "";
  position: absolute;
  left: clamp(113px, 14vw, 145px);
  top: 30px;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(150, 118, 76, 0.54);
  border-radius: 50%;
  background: rgba(246, 242, 234, 0.92);
  box-shadow: 0 0 0 5px rgba(150, 118, 76, 0.08);
}

.guest-main .timeline-time{
  padding-top: 2px;
  color: rgba(150, 118, 76, 0.92);
  font-size: 0.82rem;
  font-weight: 780;
}

.guest-main .timeline-copy h3{
  margin-bottom: 4px;
  font-size: clamp(1.48rem, 2.2vw, 1.82rem);
}

.guest-main .timeline-copy p{
  max-width: 620px;
  line-height: 1.55;
}

/* Dress code */
.guest-main .dresscode-panel{
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 16px;
}

.guest-main .dresscode-panel-copy{
  max-width: none;
  margin: 0;
  text-align: left;
}

.guest-main .dresscode-panel-copy h3{
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.guest-main .dresscode-panel-copy p{
  max-width: 430px;
  line-height: 1.65;
}

.guest-main .dresscode-panel-palette{
  max-width: none;
  margin: 0;
}

.guest-main .dresscode-panel-palette h3{
  margin-bottom: 14px;
  text-align: left;
  font-size: 1.22rem;
}

.guest-main .palette-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guest-main .color-chip{
  min-height: 74px;
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.guest-main .color-chip span{
  border-radius: 8px;
  font-size: 0.68rem;
}

/* Viaje */
.guest-main .travel-intro,
.guest-main .gallery-intro{
  max-width: 760px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--guest-section-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.guest-main .travel-intro::before,
.guest-main .gallery-intro::before{
  display: none;
}

.guest-main .travel-intro p,
.guest-main .gallery-intro p{
  color: rgba(52, 42, 34, 0.72);
  font-size: clamp(1.16rem, 1.8vw, 1.34rem);
  line-height: 1.58;
}

.guest-main .hotel-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.guest-main .hotel-card{
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 22px;
  border-radius: 14px;
}

.guest-main .hotel-card-head{
  align-items: flex-start;
  margin-bottom: 12px;
}

.guest-main .hotel-card h3{
  font-size: clamp(1.34rem, 2vw, 1.62rem);
  line-height: 1.08;
}

.guest-main .hotel-badge{
  border-radius: 7px;
  background: rgba(150, 118, 76, 0.09);
  color: rgba(150, 118, 76, 0.94);
  font-size: 0.64rem;
  font-weight: 760;
}

.guest-main .hotel-address{
  font-size: 0.78rem;
  line-height: 1.55;
}

.guest-main .hotel-card p:not(.hotel-address){
  line-height: 1.56;
}

.guest-main .travel-practical{
  margin-top: 14px;
  border-radius: 14px;
}

.guest-main .travel-practical h3{
  font-size: 1.46rem;
}

.guest-main .travel-tips{
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.guest-main .travel-tips li{
  position: relative;
  margin: 0;
  padding: 13px 0 13px 22px;
  border-top: 1px solid var(--guest-section-line);
  line-height: 1.5;
}

.guest-main .travel-tips li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(150, 118, 76, 0.72);
}

/* Galeria */
.guest-main .gallery-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.guest-main .gallery-item{
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 24px rgba(34, 28, 23, 0.06);
  background: rgba(255, 255, 255, 0.12);
}

.guest-main .gallery-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%, rgba(24, 20, 17, 0.10));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.guest-main .gallery-item:hover::after{
  opacity: 1;
}

.guest-main .gallery-actions{
  justify-content: flex-start;
}

.guest-main .gallery-more-btn{
  min-width: 168px;
  padding: 12px 16px;
  border-radius: 10px;
}

/* Regalo */
.guest-main .gift-grid{
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 14px;
  align-items: stretch;
}

.guest-main .gift-main,
.guest-main .gift-option{
  border-radius: 16px;
}

.guest-main .gift-lead,
.guest-main .gift-copy,
.guest-main .gift-option{
  text-align: left;
}

.guest-main .gift-lead{
  max-width: 460px;
  color: var(--guest-ink) !important;
  font-size: clamp(1.48rem, 2.2vw, 1.82rem) !important;
  line-height: 1.38;
}

.guest-main .gift-copy{
  max-width: 540px;
}

.guest-main .gift-option h3{
  font-size: 1.56rem;
}

.guest-main .gift-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  justify-content: stretch;
}

.guest-main .gift-btn{
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(150, 118, 76, 0.20), rgba(150, 118, 76, 0.11)),
    rgba(255, 255, 255, 0.22);
  color: var(--guest-ink);
  border-color: rgba(150, 118, 76, 0.24);
  box-shadow: none;
}

.guest-main .gift-btn-secondary[href*="liverpool"]{
  background:
    linear-gradient(180deg, rgba(150, 118, 76, 0.34), rgba(150, 118, 76, 0.20)),
    rgba(255, 255, 255, 0.24);
  color: var(--guest-ink);
  border-color: rgba(150, 118, 76, 0.42);
}

/* RSVP */
.guest-main .rsvp-inner{
  max-width: 760px;
}

.guest-main .rsvp-text{
  max-width: 520px;
  margin: 0 0 16px;
  color: rgba(52, 42, 34, 0.72);
  font-size: clamp(1.18rem, 1.8vw, 1.36rem);
  line-height: 1.55;
}

.guest-main .rsvp-guest-note{
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 9px 11px;
  border: 1px solid rgba(150, 118, 76, 0.20);
  border-radius: 9px;
  background: rgba(150, 118, 76, 0.07);
  color: rgba(150, 118, 76, 0.94);
  line-height: 1.45;
}

.guest-main .allergy-note{
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 18px 20px;
  border-radius: 14px;
}

.guest-main .allergy-note h3{
  margin: 0;
  font-size: 1.32rem;
}

.guest-main .allergy-note p{
  line-height: 1.5;
}

.guest-main form{
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
}

.guest-main input,
.guest-main select,
.guest-main textarea{
  min-height: 46px;
  border: 1px solid var(--guest-section-line);
  border-radius: 10px;
  background: var(--guest-field-fill);
  color: var(--guest-ink);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 13px 14px;
}

.guest-main textarea{
  min-height: 118px;
}

.guest-main input:focus,
.guest-main select:focus,
.guest-main textarea:focus{
  border-color: rgba(150, 118, 76, 0.48);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 4px var(--guest-focus);
}

.guest-main form button{
  min-height: 46px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(150, 118, 76, 0.82), rgba(128, 98, 61, 0.76)),
    rgba(150, 118, 76, 0.68);
  color: rgba(255, 252, 246, 0.96);
  border-color: rgba(150, 118, 76, 0.32);
  box-shadow: 0 10px 22px rgba(85, 64, 40, 0.10);
}

.guest-main .success-message{
  margin-top: 14px;
  color: rgba(52, 42, 34, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

/* Mi mesa */
.guest-main .guest-table-panel{
  position: relative;
  justify-items: center;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 16px;
  text-align: center;
}

.guest-main .guest-table-panel::after{
  content: "";
  width: 44px;
  height: 1px;
  margin: 4px auto 8px;
  background: rgba(150, 118, 76, 0.46);
  order: 1;
}

.guest-main .guest-table-panel .guest-label{
  order: 0;
  color: var(--guest-champagne);
}

.guest-main .guest-table-panel strong{
  order: 2;
  max-width: 520px;
}

.guest-main .guest-table-panel p{
  order: 3;
  margin: 4px auto 0;
}

@media (max-width: 980px){
  .guest-main .guest-summary-card,
  .guest-main .details-grid,
  .guest-main .dresscode-panel,
  .guest-main .gift-grid{
    grid-template-columns: 1fr;
  }

  .guest-main .guest-grid,
  .guest-main .guest-grid.no-hotel{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-main .hotel-grid{
    grid-template-columns: 1fr;
  }

  .guest-main .details-map,
  .guest-main .map-frame,
  .guest-main .details-map iframe{
    min-height: 340px;
  }
}

@media (max-width: 680px){
  .guest-main .section-heading{
    margin-bottom: 18px;
  }

  .guest-main .guest-summary-card,
  .guest-main .details-copy,
  .guest-main .dresscode-panel,
  .guest-main .timeline,
  .guest-main .hotel-card,
  .guest-main .travel-practical,
  .guest-main .gift-main,
  .guest-main .gift-option,
  .guest-main .allergy-note,
  .guest-main form,
  .guest-main .guest-table-panel{
    padding: 20px;
    border-radius: 13px;
  }

  .guest-main .guest-grid,
  .guest-main .guest-grid.no-hotel,
  .guest-main .mini-info-grid,
  .guest-main .palette-grid,
  .guest-main .gift-actions{
    grid-template-columns: 1fr;
  }

  .guest-main .guest-stat{
    min-height: 98px;
  }

  .guest-main .guest-message{
    padding: 18px;
  }

  .guest-main .details-map,
  .guest-main .map-frame,
  .guest-main .details-map iframe{
    min-height: 280px;
  }

  .guest-main .timeline::before,
  .guest-main .timeline-item::before{
    display: none;
  }

  .guest-main .timeline-item{
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .guest-main .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .guest-main .gallery-actions{
    justify-content: stretch;
  }

  .guest-main .gallery-more-btn{
    width: 100%;
  }
}

/* =========================================================
   GUEST EXPERIENCE - VIEW HEIGHT BALANCE
   Compact desktop views fit under the fixed event identity.
   Longer views keep natural document scroll.
   ========================================================= */

@media (min-width: 981px){
  .guest-event-topbar{
    min-height: 104px;
    margin-bottom: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .guest-event-topbar h1{
    font-size: clamp(1.72rem, 2.1vw, 2.08rem);
  }

  .guest-event-kicker{
    margin-bottom: 5px;
    font-size: 0.68rem;
  }

  .guest-event-subtitle{
    font-size: 0.82rem;
  }

  .guest-event-countdown{
    font-size: clamp(1rem, 1.24vw, 1.16rem);
  }

  #guestOverview,
  #details,
  #schedule,
  #dresscode,
  #gift,
  #guestTableSection{
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  #travel,
  #gallery,
  #rsvp{
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 54px;
  }

  .guest-main:has(> #guestOverview:not(.guest-section-is-hidden)),
  .guest-main:has(> #details:not(.guest-section-is-hidden)),
  .guest-main:has(> #schedule:not(.guest-section-is-hidden)),
  .guest-main:has(> #dresscode:not(.guest-section-is-hidden)),
  .guest-main:has(> #gift:not(.guest-section-is-hidden)),
  .guest-main:has(> #guestTableSection:not(.guest-section-is-hidden)){
    padding-bottom: 0;
  }

  .guest-main:has(> #guestOverview:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #details:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #schedule:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #dresscode:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #gift:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #guestTableSection:not(.guest-section-is-hidden)) + .site-footer{
    display: none;
  }

  #guestOverview .section-inner,
  #details .section-inner,
  #schedule .section-inner,
  #dresscode .section-inner,
  #gift .section-inner,
  #guestTableSection .section-inner{
    max-width: 1040px;
  }

  .guest-main .section-heading{
    gap: 3px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .guest-main .section-kicker{
    font-size: 0.66rem;
    letter-spacing: 0.17em;
  }

  .guest-main .details h2,
  .guest-main .schedule h2,
  .guest-main .dresscode h2,
  .guest-main .gift h2,
  .guest-main .guest-table-section h2,
  .guest-main .guest-experience > .section-inner > .section-heading h2{
    font-size: clamp(1.72rem, 2.4vw, 2.18rem);
  }

  .guest-main .travel h2,
  .guest-main .gallery h2,
  .guest-main .rsvp h2{
    font-size: clamp(1.9rem, 2.7vw, 2.42rem);
  }

  .guest-main .section-heading::after{
    width: min(100%, 280px);
  }

  /* Compact overview */
  .guest-main .guest-summary-card{
    grid-template-columns: minmax(230px, 0.82fr) minmax(390px, 1.18fr);
    gap: 18px;
    padding: 22px;
  }

  .guest-main .guest-summary-card::after{
    inset: 10px;
  }

  .guest-main .guest-honor-badge{
    width: fit-content;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 5px 8px;
    border: 1px solid rgba(150, 118, 76, 0.18);
    border-radius: 8px;
    background: rgba(150, 118, 76, 0.06);
    font-family: "Inter", sans-serif;
    font-size: 0.62rem;
    font-weight: 760;
    letter-spacing: 0.10em;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: 0.82;
  }

  .guest-main .guest-card-head h2{
    max-width: 13ch;
    font-size: clamp(1.92rem, 3.1vw, 2.72rem);
  }

  .guest-main .guest-intro{
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.48;
  }

  .guest-main .guest-grid{
    gap: 9px;
  }

  .guest-main .guest-stat{
    min-height: 88px;
    padding: 12px 13px;
  }

  .guest-main .guest-stat::before{
    width: 24px;
    margin-bottom: 8px;
  }

  .guest-main .guest-stat strong{
    font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  }

  .guest-main .guest-message{
    margin-top: 2px;
    padding: 14px 16px;
    font-size: 1.03rem;
    line-height: 1.45;
  }

  .guest-main .guest-message::before{
    margin-bottom: 10px;
  }

  /* Compact details */
  .guest-main .details-grid{
    grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1fr);
    gap: 12px;
  }

  .guest-main .details-copy{
    padding: 20px;
  }

  .guest-main .details-line{
    font-size: clamp(1.24rem, 1.75vw, 1.54rem);
  }

  .guest-main .details-line + .details-line{
    font-size: 0.78rem;
  }

  .guest-main .mini-info-grid{
    gap: 8px;
    margin: 18px 0;
  }

  .guest-main .mini-info-item{
    min-height: 76px;
    padding: 12px;
  }

  .guest-main .mini-label{
    margin-bottom: 6px;
    font-size: 0.64rem;
  }

  .guest-main .mini-info-item strong{
    font-size: 1.08rem;
  }

  .guest-main .details-address{
    margin-bottom: 16px;
    padding-top: 16px;
    font-size: 1rem;
    line-height: 1.42;
  }

  .guest-main .details-map,
  .guest-main .map-frame,
  .guest-main .details-map iframe{
    min-height: 306px;
  }

  .guest-main .details-map{
    padding: 8px;
  }

  /* Compact schedule */
  .guest-main .timeline{
    padding: 14px 22px;
  }

  .guest-main .timeline::before{
    top: 28px;
    bottom: 28px;
    left: 118px;
  }

  .guest-main .timeline-item{
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 28px;
    padding: 11px 0;
  }

  .guest-main .timeline-item::before{
    left: 113px;
    top: 20px;
    width: 9px;
    height: 9px;
  }

  .guest-main .timeline-time{
    font-size: 0.74rem;
  }

  .guest-main .timeline-copy h3{
    font-size: clamp(1.26rem, 1.8vw, 1.48rem);
  }

  .guest-main .timeline-copy p{
    font-size: 0.98rem;
    line-height: 1.38;
  }

  /* Compact dress code */
  .guest-main .dresscode-panel{
    gap: 26px;
    padding: 22px;
  }

  .guest-main .dresscode-panel-copy h3{
    margin-bottom: 8px;
    font-size: clamp(1.86rem, 3vw, 2.44rem);
  }

  .guest-main .dresscode-panel-copy p{
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .guest-main .dresscode-panel-palette h3{
    margin-bottom: 10px;
    font-size: 1.08rem;
  }

  .guest-main .palette-grid{
    gap: 8px;
  }

  .guest-main .color-chip{
    min-height: 56px;
    padding: 10px;
  }

  .guest-main .color-chip span{
    padding: 5px 7px;
    font-size: 0.6rem;
  }

  /* Compact gift */
  .guest-main .gift-grid{
    gap: 12px;
  }

  .guest-main .gift-main,
  .guest-main .gift-option{
    padding: 22px;
  }

  .guest-main .gift-lead{
    margin-bottom: 14px !important;
    font-size: clamp(1.28rem, 1.9vw, 1.56rem) !important;
    line-height: 1.34;
  }

  .guest-main .gift-copy,
  .guest-main .gift-option p{
    font-size: 1rem !important;
    line-height: 1.5;
  }

  .guest-main .gift-option h3{
    margin-bottom: 8px;
    font-size: 1.34rem;
  }

  .guest-main .gift-actions{
    gap: 8px;
    margin-top: 16px;
  }

  .guest-main .gift-btn{
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.7rem;
  }

  /* Compact table */
  .guest-main .guest-table-panel{
    max-width: 560px;
    padding: 34px 28px;
  }

  .guest-main .guest-table-panel strong{
    font-size: clamp(1.76rem, 2.9vw, 2.3rem);
  }

  .guest-main .guest-table-panel p{
    font-size: 1rem;
  }

  /* Long views stay natural, but less tall per block */
  #travel .section-inner,
  #gallery .section-inner,
  #rsvp .section-inner{
    max-width: 1080px;
  }

  .guest-main .hotel-card{
    padding: 18px;
  }

  .guest-main .hotel-card-head{
    margin-bottom: 9px;
  }

  .guest-main .hotel-card h3{
    font-size: clamp(1.22rem, 1.8vw, 1.46rem);
  }

  .guest-main .hotel-card p:not(.hotel-address),
  .guest-main .travel-tips li{
    font-size: 1rem;
  }

  .guest-main .travel-practical{
    padding: 20px;
  }

  .guest-main .gallery-grid{
    gap: 9px;
  }

  .guest-main .gallery-item{
    aspect-ratio: 4 / 5;
  }

  .guest-main .rsvp-text{
    font-size: 1.12rem;
  }

  .guest-main form{
    gap: 10px;
  }
}

/* =========================================================
   GUEST EXPERIENCE — DASHBOARD VISUAL SYSTEM
   ========================================================= */

body:not(.dashboard-body){
  --guest-dashboard-panel: rgba(255, 255, 255, 0.085);
  --guest-dashboard-panel-strong: rgba(255, 255, 255, 0.13);
  --guest-dashboard-line: rgba(70, 59, 48, 0.105);
  --guest-dashboard-line-soft: rgba(70, 59, 48, 0.065);
  --guest-dashboard-gold: rgba(150, 118, 76, 0.86);
  --guest-dashboard-muted: rgba(54, 47, 40, 0.62);
}

.guest-main .hero.guest-event-topbar{
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  margin-bottom: 14px;
  border-radius: 12px;
}

.guest-event-countdown-block{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  justify-items: end;
  align-self: center;
  text-align: right;
  font-family: "Inter", sans-serif;
}

.guest-event-countdown-block span{
  color: var(--guest-dashboard-gold);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.guest-event-countdown-block .guest-event-countdown{
  display: block;
  margin: 0;
  color: rgba(213, 190, 134, 0.88);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-style: normal;
  font-weight: 680;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
}

.guest-main .section-inner{
  max-width: 1040px;
}

#travel .section-inner,
#gallery .section-inner,
#rsvp .section-inner{
  max-width: 1080px;
}

#guestOverview,
#details,
#schedule,
#dresscode,
#gift,
#guestTableSection{
  padding-top: 14px;
  padding-bottom: 10px;
}

#travel,
#gallery,
#rsvp{
  padding-top: 18px;
}

.guest-main .section-heading{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--guest-dashboard-line);
}

.guest-main .section-heading::after{
  display: none;
}

.guest-main .section-kicker{
  color: var(--guest-dashboard-gold) !important;
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.guest-main .details h2,
.guest-main .schedule h2,
.guest-main .dresscode h2,
.guest-main .travel h2,
.guest-main .gallery h2,
.guest-main .gift h2,
.guest-main .rsvp h2,
.guest-main .guest-table-section h2,
.guest-main .guest-experience > .section-inner > .section-heading h2{
  margin: 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.48rem, 2vw, 1.92rem);
  font-weight: 500;
  line-height: 1.04;
}

body:not(.dashboard-body) .guest-main .premium-card,
body:not(.dashboard-body) .guest-main .premium-map-card,
.guest-main form{
  border: 1px solid var(--guest-dashboard-line);
  border-radius: 8px;
  background: var(--guest-dashboard-panel);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.02);
  -webkit-backdrop-filter: blur(14px) saturate(1.02);
}

body:not(.dashboard-body) .guest-main .premium-card::before,
body:not(.dashboard-body) .guest-main .premium-map-card::before,
.guest-main .guest-summary-card::after,
.guest-main .map-frame::after,
.guest-main .gallery-item::after{
  display: none;
}

.guest-main .guest-label,
.guest-main .mini-label,
.guest-main .dashboard-stat-label,
.guest-main .hotel-badge,
.guest-main .timeline-time,
.guest-main .map-link,
.guest-main .hotel-link,
.guest-main .rsvp-guest-note,
.guest-main .gift-btn,
.guest-main .gallery-more-btn,
.guest-main form button{
  font-family: "Inter", sans-serif;
}

/* Resumen */
.guest-main .guest-summary-card{
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: 18px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.guest-main .guest-card-head,
.guest-main .guest-intro{
  grid-column: 1;
}

.guest-main .guest-card-head{
  padding: 16px 18px 0;
}

.guest-main .guest-card-head h2{
  max-width: 15ch;
  margin: 0;
  color: rgba(54, 47, 40, 0.88);
  font-size: clamp(1.5rem, 2.2vw, 2.02rem);
  line-height: 1.03;
}

.guest-main .guest-honor-badge{
  width: fit-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid rgba(150, 118, 76, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--guest-dashboard-gold) !important;
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.guest-main .guest-intro{
  max-width: 280px;
  margin: 8px 0 0;
  padding: 0 18px 16px;
  color: var(--guest-dashboard-muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.guest-main .guest-grid,
.guest-main .guest-grid.no-hotel{
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  margin: 0;
  border-left: 1px solid var(--guest-dashboard-line);
}

.guest-main .guest-grid.no-hotel{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guest-main .guest-stat{
  min-height: 0;
  padding: 16px;
  border: 0;
  border-right: 1px solid var(--guest-dashboard-line-soft);
  border-radius: 0;
  background: transparent;
}

.guest-main .guest-stat:last-child{
  border-right: 0;
}

.guest-main .guest-stat::before{
  display: none;
}

.guest-main .guest-label{
  display: block;
  margin-bottom: 8px;
  color: var(--guest-dashboard-muted);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guest-main .guest-stat strong{
  display: block;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  font-weight: 500;
  line-height: 1.05;
}

.guest-main .guest-hotel-note{
  display: block;
  margin-top: 7px;
  color: rgba(54, 47, 40, 0.48);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  line-height: 1.35;
}

.guest-main .guest-message{
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 18px;
  border: 0;
  border-top: 1px solid var(--guest-dashboard-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(54, 47, 40, 0.68);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.48;
}

.guest-main .guest-message::before{
  width: 26px;
  margin-bottom: 9px;
}

/* Detalles */
.guest-main .details-grid{
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(360px, 1.28fr);
  gap: 12px;
  align-items: stretch;
}

.guest-main .details-copy{
  display: grid;
  align-content: start;
  padding: 16px 18px;
}

.guest-main .details-line{
  margin: 0;
  color: rgba(54, 47, 40, 0.88);
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  line-height: 1.16;
}

.guest-main .details-line + .details-line{
  margin-top: 5px;
  color: var(--guest-dashboard-gold);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guest-main .mini-info-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0 14px;
  border-top: 1px solid var(--guest-dashboard-line);
  border-bottom: 1px solid var(--guest-dashboard-line);
}

.guest-main .mini-info-item{
  min-height: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.guest-main .mini-info-item + .mini-info-item{
  padding-left: 14px;
  border-left: 1px solid var(--guest-dashboard-line-soft);
}

.guest-main .mini-label{
  margin-bottom: 5px;
  color: var(--guest-dashboard-muted);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guest-main .mini-info-item strong{
  color: rgba(54, 47, 40, 0.86);
  font-size: 1.02rem;
  line-height: 1.12;
}

.guest-main .details-address{
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: var(--guest-dashboard-muted);
  font-size: 0.98rem;
  line-height: 1.38;
}

.guest-main .map-link,
.guest-main .hotel-link{
  display: inline-flex;
  width: fit-content;
  color: var(--guest-dashboard-gold);
  border-bottom: 1px solid rgba(150, 118, 76, 0.32);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.10em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.guest-main .details-map{
  min-height: 286px;
  padding: 6px;
}

.guest-main .map-frame{
  min-height: 274px;
  border: 1px solid rgba(70, 59, 48, 0.085);
  border-radius: 6px;
  box-shadow: none;
}

.guest-main .details-map iframe{
  min-height: 274px;
  filter: saturate(0.72) contrast(0.94) brightness(1.04);
}

/* Agenda */
.guest-main .timeline{
  display: grid;
  gap: 0;
  padding: 0 18px;
  border-radius: 8px;
}

.guest-main .timeline::before,
.guest-main .timeline-item::before{
  display: none;
}

.guest-main .timeline-item{
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 0;
  border-bottom: 1px solid var(--guest-dashboard-line-soft);
  border-radius: 0;
}

.guest-main .timeline-item:last-child{
  border-bottom: 0;
}

.guest-main .timeline-time{
  padding: 0;
  color: var(--guest-dashboard-gold);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guest-main .timeline-copy h3{
  margin: 0 0 3px;
  color: rgba(54, 47, 40, 0.88);
  font-size: clamp(1.16rem, 1.55vw, 1.36rem);
  line-height: 1.04;
}

.guest-main .timeline-copy p{
  max-width: none;
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-size: 0.94rem;
  line-height: 1.34;
}

/* Dress code */
.guest-main .dresscode-panel{
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.guest-main .dresscode-panel-copy{
  display: grid;
  align-content: center;
  max-width: none;
  margin: 0;
  padding: 18px;
  text-align: left;
}

.guest-main .dresscode-panel-copy h3{
  margin: 0 0 8px;
  color: rgba(54, 47, 40, 0.88);
  font-size: clamp(1.54rem, 2.25vw, 2.08rem);
  line-height: 1.02;
}

.guest-main .dresscode-panel-copy p{
  max-width: 430px;
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.guest-main .dresscode-panel-palette{
  display: grid;
  align-content: center;
  max-width: none;
  margin: 0;
  padding: 18px;
  border-left: 1px solid var(--guest-dashboard-line);
}

.guest-main .dresscode-panel-palette h3{
  margin: 0 0 10px;
  color: rgba(54, 47, 40, 0.78);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

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

.guest-main .color-chip{
  min-height: 52px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 6px;
  box-shadow: none;
}

.guest-main .color-chip span{
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

/* Viaje */
.guest-main .travel-intro,
.guest-main .gallery-intro{
  max-width: none;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--guest-dashboard-line);
}

.guest-main .travel-intro p,
.guest-main .gallery-intro p{
  max-width: 760px;
  color: var(--guest-dashboard-muted);
  font-size: 1rem;
  line-height: 1.42;
}

.guest-main .hotel-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.guest-main .hotel-card{
  padding: 14px;
  border-radius: 8px;
}

.guest-main .hotel-card-head{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 9px;
}

.guest-main .hotel-card h3{
  margin: 0;
  color: rgba(54, 47, 40, 0.88);
  font-size: 1.22rem;
  line-height: 1.06;
}

.guest-main .hotel-badge{
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--guest-dashboard-gold);
  background: transparent;
  border-color: rgba(150, 118, 76, 0.22);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.10em;
}

.guest-main .hotel-address{
  margin: 0 0 8px;
  color: rgba(54, 47, 40, 0.54);
  font-size: 0.76rem;
  line-height: 1.38;
}

.guest-main .hotel-card p:not(.hotel-address){
  color: var(--guest-dashboard-muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.guest-main .travel-practical{
  margin-top: 10px;
  padding: 14px;
  border-radius: 8px;
}

.guest-main .travel-practical h3{
  margin: 0 0 8px;
  color: rgba(54, 47, 40, 0.84);
  font-size: 1.18rem;
  line-height: 1.05;
}

.guest-main .travel-tips li{
  padding: 10px 0 10px 18px;
  color: var(--guest-dashboard-muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.guest-main .travel-tips li::before{
  top: 17px;
  width: 5px;
  height: 5px;
}

/* Galeria */
.guest-main .gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.guest-main .gallery-item{
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(70, 59, 48, 0.08);
  border-radius: 6px;
  box-shadow: none;
}

.guest-main .gallery-item img{
  transition: transform 0.28s ease, filter 0.28s ease;
}

.guest-main .gallery-item:hover img{
  transform: scale(1.018);
  filter: saturate(1.02) brightness(1.03);
}

.guest-main .gallery-actions{
  justify-content: flex-start;
  margin-top: 12px;
}

.guest-main .gallery-more-btn{
  min-width: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--guest-dashboard-panel);
  color: rgba(54, 47, 40, 0.82);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  box-shadow: none;
}

/* Regalo */
.guest-main .gift-grid{
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 10px;
  align-items: stretch;
}

.guest-main .gift-main,
.guest-main .gift-option{
  display: grid;
  align-content: center;
  padding: 16px 18px;
  border-radius: 8px;
}

.guest-main .gift-lead{
  max-width: none;
  margin: 0 0 10px !important;
  color: rgba(54, 47, 40, 0.88) !important;
  font-size: clamp(1.18rem, 1.58vw, 1.42rem) !important;
  line-height: 1.28;
  text-align: left;
}

.guest-main .gift-copy,
.guest-main .gift-option p{
  max-width: none;
  margin: 0;
  color: var(--guest-dashboard-muted) !important;
  font-size: 0.96rem !important;
  line-height: 1.42;
  text-align: left;
}

.guest-main .gift-option h3{
  margin: 0 0 8px;
  color: rgba(54, 47, 40, 0.84);
  font-size: 1.2rem;
  line-height: 1.05;
}

.guest-main .gift-actions{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.guest-main .gift-btn{
  min-width: 0;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(54, 47, 40, 0.82);
  border-color: var(--guest-dashboard-line);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.10em;
  box-shadow: none;
}

.guest-main .gift-btn-secondary[href*="liverpool"]{
  background: rgba(150, 118, 76, 0.11);
  color: rgba(54, 47, 40, 0.88);
  border-color: rgba(150, 118, 76, 0.28);
}

/* RSVP */
.guest-main .rsvp-inner{
  max-width: 720px;
}

.guest-main .rsvp-text{
  max-width: 520px;
  margin: 0 0 10px;
  color: var(--guest-dashboard-muted);
  font-size: 1rem;
  line-height: 1.42;
  text-align: left;
}

.guest-main .rsvp-guest-note{
  width: 100%;
  margin: 0 0 10px;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--guest-dashboard-line);
  border-bottom: 1px solid var(--guest-dashboard-line);
  border-radius: 0;
  background: transparent;
  color: var(--guest-dashboard-gold);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.guest-main .allergy-note{
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 8px;
}

.guest-main .allergy-note h3{
  margin: 0 0 4px;
  color: rgba(54, 47, 40, 0.84);
  font-size: 1.08rem;
}

.guest-main .allergy-note p{
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-size: 0.92rem;
  line-height: 1.36;
}

.guest-main form{
  display: grid;
  gap: 9px;
  padding: 14px;
  border-radius: 8px;
}

.guest-main input,
.guest-main select,
.guest-main textarea{
  min-height: 42px;
  border: 1px solid var(--guest-dashboard-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(54, 47, 40, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
  padding: 11px 12px;
}

.guest-main textarea{
  min-height: 96px;
}

.guest-main input:focus,
.guest-main select:focus,
.guest-main textarea:focus{
  border-color: rgba(150, 118, 76, 0.42);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(150, 118, 76, 0.08);
}

.guest-main form button{
  min-height: 42px;
  border-radius: 6px;
  background: rgba(150, 118, 76, 0.76);
  color: rgba(255, 252, 246, 0.96);
  border-color: rgba(150, 118, 76, 0.28);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.10em;
  box-shadow: none;
}

.guest-main .success-message{
  margin-top: 10px;
  color: var(--guest-dashboard-muted);
  font-size: 0.88rem;
}

/* Mi mesa */
.guest-main .guest-table-panel{
  display: grid;
  justify-items: start;
  max-width: 560px;
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  text-align: left;
}

.guest-main .guest-table-panel::after{
  display: none;
}

.guest-main .guest-table-panel .guest-label{
  order: initial;
  color: var(--guest-dashboard-gold);
}

.guest-main .guest-table-panel strong{
  order: initial;
  max-width: 100%;
  margin-top: 4px;
  color: rgba(54, 47, 40, 0.88);
  font-size: clamp(1.42rem, 2vw, 1.86rem);
  line-height: 1.04;
}

.guest-main .guest-table-panel p{
  order: initial;
  max-width: 460px;
  margin: 8px 0 0;
  color: var(--guest-dashboard-muted);
  font-size: 0.96rem;
  line-height: 1.4;
}

@media (min-width: 981px){
  .guest-main:has(> #guestOverview:not(.guest-section-is-hidden)),
  .guest-main:has(> #details:not(.guest-section-is-hidden)),
  .guest-main:has(> #schedule:not(.guest-section-is-hidden)),
  .guest-main:has(> #dresscode:not(.guest-section-is-hidden)),
  .guest-main:has(> #gift:not(.guest-section-is-hidden)),
  .guest-main:has(> #guestTableSection:not(.guest-section-is-hidden)){
    padding-bottom: 0;
  }

  .guest-main:has(> #guestOverview:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #details:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #schedule:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #dresscode:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #gift:not(.guest-section-is-hidden)) + .site-footer,
  .guest-main:has(> #guestTableSection:not(.guest-section-is-hidden)) + .site-footer{
    display: none;
  }
}

@media (max-width: 980px){
  .guest-main .hero.guest-event-topbar,
  .guest-main .guest-summary-card,
  .guest-main .details-grid,
  .guest-main .dresscode-panel,
  .guest-main .gift-grid{
    grid-template-columns: 1fr;
  }

  .guest-event-countdown-block{
    justify-items: start;
    text-align: left;
  }

  .guest-event-countdown-block .guest-event-countdown{
    text-align: left;
    white-space: normal;
  }

  .guest-main .guest-grid,
  .guest-main .guest-grid.no-hotel{
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 1px solid var(--guest-dashboard-line);
  }

  .guest-main .guest-stat:nth-child(2n){
    border-right: 0;
  }

  .guest-main .dresscode-panel-palette{
    border-left: 0;
    border-top: 1px solid var(--guest-dashboard-line);
  }

  .guest-main .hotel-grid,
  .guest-main .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-main .gift-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px){
  #guestOverview,
  #details,
  #schedule,
  #dresscode,
  #travel,
  #gallery,
  #gift,
  #rsvp,
  #guestTableSection{
    padding-top: 24px;
  }

  .guest-main .section-heading{
    display: grid;
    align-items: start;
    gap: 5px;
  }

  .guest-main .guest-grid,
  .guest-main .guest-grid.no-hotel,
  .guest-main .mini-info-grid,
  .guest-main .palette-grid,
  .guest-main .hotel-grid,
  .guest-main .gallery-grid,
  .guest-main .gift-actions{
    grid-template-columns: 1fr;
  }

  .guest-main .guest-stat,
  .guest-main .mini-info-item + .mini-info-item{
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--guest-dashboard-line-soft);
  }

  .guest-main .timeline{
    padding: 0 14px;
  }

  .guest-main .timeline-item{
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* =========================================================
   GUEST OVERVIEW — DASHBOARD SUMMARY ONLY
   ========================================================= */

#guestOverview{
  padding-top: 14px;
  padding-bottom: 10px;
}

#guestOverview .section-inner{
  max-width: 980px;
}

#guestOverview .guest-overview-heading{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--guest-dashboard-line);
}

#guestOverview .guest-overview-heading h2{
  margin: 3px 0 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.45rem, 2vw, 1.86rem);
  line-height: 1.04;
}

#guestOverview .guest-overview-note{
  max-width: 280px;
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

#guestOverview #guestCard{
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: 0;
  padding: 0;
  border: 1px solid var(--guest-dashboard-line);
  border-radius: 8px;
  background: var(--guest-dashboard-panel);
  box-shadow: none;
  overflow: hidden;
}

#guestOverview #guestCard[hidden]{
  display: none;
}

#guestOverview #guestCard::before,
#guestOverview #guestCard::after{
  display: none;
}

#guestOverview .guest-summary-identity{
  display: grid;
  align-content: start;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--guest-dashboard-line);
}

#guestOverview #guestGreeting{
  max-width: none;
  margin: 6px 0 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.32rem, 1.9vw, 1.72rem);
  font-weight: 500;
  line-height: 1.06;
}

#guestOverview .guest-honor-badge{
  width: fit-content;
  max-width: 100%;
  margin: 7px 0 0;
  padding: 6px 0 0;
  border: 0;
  border-top: 1px solid rgba(150, 118, 76, 0.24);
  color: var(--guest-dashboard-gold) !important;
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  opacity: 0.82;
}

#guestOverview #guestIntro{
  display: none !important;
}

#guestOverview .guest-grid,
#guestOverview .guest-grid.no-hotel{
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 0;
}

#guestOverview .guest-grid.no-hotel{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#guestOverview .guest-stat{
  display: grid;
  align-content: start;
  min-height: 96px;
  padding: 16px 14px;
  border: 0;
  border-right: 1px solid var(--guest-dashboard-line-soft);
  border-radius: 0;
  background: transparent;
}

#guestOverview .guest-stat:last-child{
  border-right: 0;
}

#guestOverview .guest-stat::before{
  display: none;
}

#guestOverview .guest-label{
  display: block;
  margin: 0 0 8px;
  color: var(--guest-dashboard-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

#guestOverview .guest-stat strong{
  display: block;
  color: rgba(54, 47, 40, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.08;
}

#guestOverview .guest-hotel-note{
  display: block;
  margin-top: 7px;
  color: rgba(54, 47, 40, 0.46);
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  line-height: 1.3;
}

#guestOverview .guest-summary-footer{
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: 0;
  border-top: 1px solid var(--guest-dashboard-line);
  background: rgba(255, 255, 255, 0.045);
}

#guestOverview .guest-summary-action{
  display: grid;
  align-content: center;
  padding: 13px 18px;
  border-right: 1px solid var(--guest-dashboard-line);
}

#guestOverview .guest-summary-action[hidden]{
  display: none;
}

#guestOverview .guest-summary-action-link{
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(150, 118, 76, 0.34);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--guest-dashboard-gold);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.10em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

#guestOverview .guest-summary-action-text{
  max-width: 360px;
  margin: 0 0 8px;
  color: rgba(54, 47, 40, 0.64);
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  line-height: 1.38;
}

#guestOverview .guest-summary-action-link:hover,
#guestOverview .guest-summary-action-link.is-active{
  background: transparent;
  border-color: rgba(150, 118, 76, 0.56);
  color: rgba(128, 98, 61, 0.96);
}

#guestOverview #guestMessage{
  grid-column: auto;
  margin: 0;
  padding: 13px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(54, 47, 40, 0.66);
  font-size: 0.96rem;
  font-style: normal;
  line-height: 1.42;
}

#guestOverview #guestMessage::before{
  display: none;
}

#guestOverview .guest-message-title,
#guestOverview .guest-message-text{
  display: block;
}

#guestOverview .guest-message-title{
  margin-bottom: 7px;
  color: var(--guest-dashboard-gold);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

#guestOverview .guest-message-text{
  max-width: 680px;
}

#guestOverview .guest-summary-action[hidden] + #guestMessage{
  grid-column: 1 / -1;
}

#guestOverview #guestMessage[hidden]{
  display: none;
}

#guestOverview .guest-fallback{
  padding: 16px 18px;
  border-radius: 8px;
  box-shadow: none;
}

#guestOverview .guest-fallback h2{
  margin: 0 0 6px;
  font-size: 1.28rem;
}

#guestOverview .guest-fallback p{
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-size: 0.96rem;
  line-height: 1.42;
}

@media (max-width: 980px){
  #guestOverview #guestCard,
  #guestOverview .guest-summary-footer{
    grid-template-columns: 1fr;
  }

  #guestOverview .guest-summary-identity,
  #guestOverview .guest-summary-action{
    border-right: 0;
    border-bottom: 1px solid var(--guest-dashboard-line);
  }

  #guestOverview .guest-grid,
  #guestOverview .guest-grid.no-hotel{
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--guest-dashboard-line);
  }
}

@media (max-width: 680px){
  #guestOverview .guest-overview-heading{
    display: grid;
    gap: 6px;
  }

  #guestOverview .guest-overview-note{
    max-width: none;
    text-align: left;
  }

  #guestOverview .guest-grid,
  #guestOverview .guest-grid.no-hotel{
    grid-template-columns: 1fr;
  }

  #guestOverview .guest-stat{
    border-right: 0;
    border-top: 1px solid var(--guest-dashboard-line-soft);
  }

  #guestOverview .guest-stat:first-child{
    border-top: 0;
  }
}

/* =========================================================
   GUEST EXPERIENCE — RESUMEN / DETALLES FINE PASS
   ========================================================= */

#guestOverview .guest-overview-heading{
  margin-bottom: 8px;
  padding-bottom: 8px;
}

#guestOverview .guest-summary-footer{
  grid-template-columns: 1fr;
}

#guestOverview .guest-summary-action{
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-right: 0;
}

#guestOverview .guest-summary-action .guest-label,
#guestOverview .guest-summary-action-text{
  margin: 0;
}

#guestOverview .guest-summary-action-text{
  max-width: none;
}

#guestOverview #guestMessage{
  border-top: 1px solid var(--guest-dashboard-line);
}

#details{
  padding-top: 14px;
  padding-bottom: 10px;
}

#details .section-inner{
  max-width: 1040px;
}

#details .details-heading{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid var(--guest-dashboard-line);
}

#details .details-heading h2{
  margin: 3px 0 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.45rem, 2vw, 1.86rem);
  line-height: 1.04;
}

#details .details-heading-note{
  max-width: 340px;
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

#details .details-grid{
  grid-template-columns: minmax(300px, 0.64fr) minmax(360px, 1.36fr);
  gap: 10px;
  align-items: stretch;
}

#details .details-copy{
  padding: 14px 16px;
  border-radius: 8px;
}

#details .details-line{
  font-size: clamp(1.1rem, 1.4vw, 1.34rem);
}

#details .details-line + .details-line{
  margin-top: 4px;
  font-size: 0.72rem;
}

#details .mini-info-grid{
  margin: 13px 0 12px;
}

#details .mini-info-item{
  padding: 10px 0;
}

#details .details-address{
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.36;
}

#details .details-map{
  min-height: 258px;
  padding: 5px;
  border-radius: 8px;
}

#details .map-frame,
#details .details-map iframe{
  min-height: 248px;
  border-radius: 6px;
}

@media (max-width: 860px){
  #guestOverview .guest-summary-action{
    grid-template-columns: 1fr;
    gap: 7px;
  }

  #details .details-heading{
    display: grid;
    gap: 6px;
  }

  #details .details-heading-note{
    max-width: none;
    text-align: left;
  }

  #details .details-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GUEST EXPERIENCE — SECTION HEADERS I18N PASS
   ========================================================= */

.guest-main .guest-section-header{
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid var(--guest-dashboard-line);
}

.guest-main .guest-section-header .section-kicker{
  margin: 0;
}

.guest-main .guest-section-title-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: end;
  gap: 18px;
}

.guest-main .guest-section-title-row h2{
  margin: 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.45rem, 2vw, 1.86rem);
  font-weight: 500;
  line-height: 1.04;
}

.guest-main .guest-section-title-row p{
  margin: 0;
  color: var(--guest-dashboard-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

#details .details-heading{
  display: grid;
  align-items: initial;
  justify-content: initial;
}

@media (max-width: 860px){
  .guest-main .guest-section-title-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .guest-main .guest-section-title-row p{
    max-width: none;
    text-align: left;
  }
}

/* =========================================================
   GUEST EXPERIENCE — GIFT BRAND BUTTONS
   ========================================================= */

#gift .gift-brand-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

#gift .gift-brand-btn span{
  display: inline-block;
  line-height: 1;
}

#gift .gift-brand-logo{
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 52px;
  max-height: 17px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#gift .gift-brand-logo-liverpool{
  max-width: 58px;
  max-height: 16px;
  border-radius: 2px;
  mix-blend-mode: multiply;
}

#gift .gift-brand-btn:hover .gift-brand-logo{
  opacity: 1;
  transform: translateY(-0.5px);
}

#gift .gift-registry-note{
  margin: 10px 0 0;
  color: rgba(54, 47, 40, 0.56) !important;
  font-size: 0.78rem !important;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

#gift .gift-registry-note strong{
  color: rgba(150, 118, 76, 0.88);
  font-weight: 700;
}

/* =========================================================
   GUEST EXPERIENCE — ACCESS STATES / FOOTER FINAL PASS
   ========================================================= */

body.access-pending .guest-app,
body.access-locked .guest-app,
body.access-pending .site-footer,
body.access-locked .site-footer{
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

body.access-granted .guest-app,
body.access-granted .site-footer{
  visibility: visible;
}

body.access-pending,
body.access-locked{
  min-height: 100vh;
  overflow-x: hidden;
}

body.access-granted .guest-main + .site-footer{
  display: block !important;
}

body:not(.dashboard-body) .site-footer{
  margin: 26px 0 0;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(64, 53, 43, 0.10);
  background: transparent;
  backdrop-filter: none;
}

body:not(.dashboard-body) .footer-inner{
  width: min(760px, calc(100% - 36px));
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0 auto;
}

body:not(.dashboard-body) .footer-line,
body:not(.dashboard-body) .footer-subline,
body:not(.dashboard-body) .footer-help,
body:not(.dashboard-body) .footer-nav a{
  font-family: "Inter", sans-serif;
}

body:not(.dashboard-body) .footer-line{
  margin: 0;
  color: rgba(73, 59, 47, 0.60);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

body:not(.dashboard-body) .footer-subline{
  margin: 0;
  color: rgba(73, 59, 47, 0.48);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

body:not(.dashboard-body) .footer-nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 4px 0 0;
}

body:not(.dashboard-body) .footer-nav a{
  color: rgba(73, 59, 47, 0.62);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

body:not(.dashboard-body) .footer-nav a:hover,
body:not(.dashboard-body) .footer-nav a.is-active{
  color: var(--guest-dashboard-gold);
}

body:not(.dashboard-body) .footer-help{
  max-width: 420px;
  margin: 2px 0 0;
  color: rgba(73, 59, 47, 0.46);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

/* =========================================================
   GUEST EXPERIENCE — GIFT MODAL FINAL PASS
   ========================================================= */

body:not(.dashboard-body) .gift-modal{
  padding: 22px;
}

body:not(.dashboard-body) .gift-modal-backdrop{
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 252, 246, 0.16), transparent 34%),
    rgba(30, 25, 20, 0.46);
  backdrop-filter: blur(16px) saturate(1.02);
  -webkit-backdrop-filter: blur(16px) saturate(1.02);
}

body:not(.dashboard-body) .gift-modal-card{
  width: min(620px, 100%);
  max-height: min(760px, calc(100dvh - 44px));
  padding: 24px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.84), rgba(244, 239, 230, 0.70)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 58px rgba(34, 28, 23, 0.18);
  backdrop-filter: blur(22px) saturate(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
  text-align: left;
}

body:not(.dashboard-body) .gift-modal-card::before{
  display: none;
}

body:not(.dashboard-body) .gift-modal-head{
  display: grid;
  gap: 8px;
  padding: 0 48px 14px 0;
  border-bottom: 1px solid rgba(70, 59, 48, 0.10);
}

body:not(.dashboard-body) .gift-modal-kicker{
  margin: 0;
  color: var(--guest-dashboard-gold);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}

body:not(.dashboard-body) .gift-modal-title-row{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body:not(.dashboard-body) .gift-modal-card h3{
  margin: 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.58rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.03;
}

body:not(.dashboard-body) .gift-modal-logo{
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 76px;
  max-height: 22px;
  object-fit: contain;
  opacity: 0.88;
}

body:not(.dashboard-body) .gift-modal-logo[hidden]{
  display: none;
}

body:not(.dashboard-body) .gift-modal-instruction{
  max-width: 430px;
  margin: 0;
  color: rgba(54, 47, 40, 0.58);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
}

body:not(.dashboard-body) .gift-modal-close{
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(70, 59, 48, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: none;
  color: rgba(54, 47, 40, 0.68);
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

body:not(.dashboard-body) .gift-modal-close:hover{
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(150, 118, 76, 0.20);
  color: rgba(54, 47, 40, 0.88);
}

body:not(.dashboard-body) .gift-modal-links{
  display: grid;
  gap: 0;
  margin-top: 6px;
  padding: 0 4px 0 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 118, 76, 0.34) rgba(70, 59, 48, 0.05);
}

body:not(.dashboard-body) .gift-modal-links a{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(70, 59, 48, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(54, 47, 40, 0.78);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

body:not(.dashboard-body) .gift-modal-links a::after{
  content: attr(data-open-label);
  color: var(--guest-dashboard-gold);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.dashboard-body) .gift-modal-links a:hover{
  transform: none;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(54, 47, 40, 0.92);
}

body:not(.dashboard-body) .gift-modal-links a:hover::after{
  color: rgba(128, 98, 61, 0.96);
}

body:not(.dashboard-body) .gift-modal-item-title{
  min-width: 0;
}

@media (max-width: 680px){
  body:not(.dashboard-body) .gift-modal{
    padding: 12px;
  }

  body:not(.dashboard-body) .gift-modal-card{
    max-height: calc(100dvh - 24px);
    padding: 20px 16px 14px;
    border-radius: 10px;
  }

  body:not(.dashboard-body) .gift-modal-head{
    padding-right: 42px;
  }

  body:not(.dashboard-body) .gift-modal-links a{
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 44px;
    padding: 11px 0;
  }
}

/* =========================================================
   GUEST EXPERIENCE — RSVP RESULT MODAL FINAL PASS
   ========================================================= */

body:not(.dashboard-body) .rsvp-modal{
  padding: 22px;
}

body:not(.dashboard-body) .rsvp-modal-backdrop{
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 252, 246, 0.15), transparent 34%),
    rgba(30, 25, 20, 0.46);
  backdrop-filter: blur(16px) saturate(1.02);
  -webkit-backdrop-filter: blur(16px) saturate(1.02);
}

body:not(.dashboard-body) .rsvp-modal-card{
  width: min(520px, 100%);
  padding: 26px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.86), rgba(244, 239, 230, 0.72)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 58px rgba(34, 28, 23, 0.18);
  backdrop-filter: blur(22px) saturate(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
  text-align: left;
}

body:not(.dashboard-body) .rsvp-modal-card::before{
  display: none;
}

body:not(.dashboard-body) .rsvp-modal-card::after{
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 18px;
  background: rgba(150, 118, 76, 0.36);
}

body:not(.dashboard-body) .rsvp-modal-close{
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(70, 59, 48, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: none;
  color: rgba(54, 47, 40, 0.68);
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

body:not(.dashboard-body) .rsvp-modal-close:hover{
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(150, 118, 76, 0.20);
  color: rgba(54, 47, 40, 0.88);
}

body:not(.dashboard-body) .rsvp-modal-kicker{
  margin: 0 48px 8px 0;
  color: var(--guest-dashboard-gold);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}

body:not(.dashboard-body) .rsvp-modal-card h3{
  max-width: 420px;
  margin: 0 48px 10px 0;
  color: rgba(54, 47, 40, 0.90);
  font-size: clamp(1.58rem, 3vw, 2.12rem);
  font-weight: 500;
  line-height: 1.04;
}

body:not(.dashboard-body) .rsvp-modal-text{
  max-width: 440px;
  margin: 0;
  color: rgba(54, 47, 40, 0.62);
  font-size: 1rem;
  line-height: 1.55;
}

body:not(.dashboard-body) .rsvp-modal-actions{
  justify-content: flex-start;
  gap: 9px;
  margin-top: 22px;
}

body:not(.dashboard-body) .rsvp-modal-btn{
  min-width: 0;
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 6px;
  border-color: rgba(150, 118, 76, 0.26);
  background: rgba(150, 118, 76, 0.76);
  box-shadow: none;
  color: rgba(255, 252, 246, 0.96);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.11em;
}

body:not(.dashboard-body) .rsvp-modal-btn:hover{
  transform: translateY(-1px);
  background: rgba(150, 118, 76, 0.86);
  border-color: rgba(150, 118, 76, 0.38);
}

body:not(.dashboard-body) .rsvp-modal-btn-secondary{
  background: rgba(255, 255, 255, 0.22);
  color: rgba(54, 47, 40, 0.78);
  border-color: rgba(70, 59, 48, 0.11);
}

body:not(.dashboard-body) .rsvp-modal-btn-secondary:hover{
  background: rgba(255, 255, 255, 0.42);
  color: rgba(54, 47, 40, 0.92);
  border-color: rgba(150, 118, 76, 0.22);
}

body:not(.dashboard-body) .rsvp-modal.is-error .rsvp-modal-card::after{
  background: rgba(150, 118, 76, 0.28);
}

@media (max-width: 680px){
  body:not(.dashboard-body) .rsvp-modal{
    padding: 12px;
  }

  body:not(.dashboard-body) .rsvp-modal-card{
    padding: 22px 16px 16px;
    border-radius: 10px;
  }

  body:not(.dashboard-body) .rsvp-modal-actions{
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not(.dashboard-body) .rsvp-modal-btn{
    width: 100%;
  }
}
