/* =========================================================
   Dean & Naneth — Wedding Invitation
   Cute-traditional light theme. No dark mode, ever.
   ========================================================= */

:root {
  color-scheme: light only;

  --cream:        #fdf8f2;
  --cream-2:      #f7ede1;
  --blush:        #f3d3d8;
  --blush-2:      #eab8c1;
  --rose:         #c98a94;
  --rose-deep:    #a85f6d;
  --gold:         #c9a35d;
  --gold-light:   #e6cd9a;
  --sage:         #9caf88;
  --ink:          #4a3a3d;
  --ink-soft:     #7a6367;
  --white:        #ffffff;

  --font-script: 'Great Vibes', cursive;
  --font-head:   'Playfair Display', 'Georgia', serif;
  --font-body:   'Mulish', 'Segoe UI', sans-serif;

  --shadow-soft: 0 10px 30px -12px rgba(168, 95, 109, 0.35);
  --shadow-card: 0 6px 24px -8px rgba(74, 58, 61, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose-deep); }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- decorative background ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  pointer-events: none;
}

.floaty {
  position: absolute;
  opacity: 0.85;
  animation: drift 14s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.08));
}
.floaty.b1 { left: 4%;  bottom: -10%; animation-duration: 16s; animation-delay: 0s; width: 46px; }
.floaty.b2 { left: 88%; bottom: -20%; animation-duration: 19s; animation-delay: 2s; width: 36px; }
.floaty.b3 { left: 18%; bottom: -30%; animation-duration: 22s; animation-delay: 5s; width: 30px; }
.floaty.b4 { left: 70%; bottom: -15%; animation-duration: 17s; animation-delay: 3.5s; width: 40px; }
.floaty.b5 { left: 45%; bottom: -40%; animation-duration: 24s; animation-delay: 7s; width: 28px; }

@keyframes drift {
  0%   { transform: translateY(0) rotate(-4deg); }
  50%  { transform: translateY(-60vh) rotate(4deg); }
  100% { transform: translateY(-120vh) rotate(-4deg); }
}

/* ---------- envelope intro ---------- */
body.intro-lock {
  overflow: hidden;
  height: 100%;
}

.envelope-intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, var(--cream-2) 0%, var(--blush) 55%, var(--gold-light) 140%);
  cursor: pointer;
  animation: envIntroFadeOut 0.8s ease-in both;
  animation-delay: 2.5s;
}
.envelope-intro.done { display: none; }
.envelope-intro.skip,
.envelope-intro.skip * {
  animation-duration: 0.01s !important;
  animation-delay: 0s !important;
  transition-duration: 0.01s !important;
}

.envelope-scene {
  position: relative;
  width: min(76vw, 360px);
  aspect-ratio: 3 / 2;
  perspective: 1400px;
  filter: drop-shadow(0 20px 40px rgba(74, 58, 61, 0.28));
  animation: envSceneLife 3.3s ease-out both;
}

.envelope-body {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(160deg, #ffffff 0%, var(--cream) 55%, var(--cream-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 163, 93, 0.45);
  overflow: hidden;
}
.envelope-body::before,
.envelope-body::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 51%;
  height: 70%;
  background: linear-gradient(135deg, rgba(201, 163, 93, 0.16), rgba(201, 163, 93, 0) 75%);
}
.envelope-body::before { left: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.envelope-body::after  { right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.envelope-letter {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 6%;
  height: 84%;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(74, 58, 61, 0.22), inset 0 0 0 1px rgba(201, 163, 93, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 2;
  transform: translateY(8%) rotate(-1.5deg) scale(0.96);
  animation: envLetterRise 1s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}
.envelope-letter-mono {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  color: var(--rose-deep);
  line-height: 1;
}
.envelope-letter-sub {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, 50% 58%);
  background: linear-gradient(160deg, var(--cream) 0%, #ffffff 45%, var(--cream-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 163, 93, 0.45);
  transform-origin: top center;
  backface-visibility: hidden;
  animation: envFlapOpen 0.75s cubic-bezier(0.6, 0.04, 0.7, 0.2) 0.75s both;
}

.wax-seal {
  position: absolute;
  top: 33%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d98a94, var(--rose-deep) 70%, #8a4550 100%);
  color: var(--gold-light);
  font-family: var(--font-script);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(74, 58, 61, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  z-index: 4;
  animation: envSealBreak 0.45s ease-in 0.4s both;
}

.envelope-skip-hint {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  opacity: 0;
  white-space: nowrap;
  animation: envHintIn 0.6s ease 1.6s both;
}

@keyframes envSceneLife {
  0%   { opacity: 0; transform: scale(0.85); }
  16%  { opacity: 1; transform: scale(1); }
  64%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}
@keyframes envSealBreak {
  0%   { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0.3) rotate(35deg); }
}
@keyframes envFlapOpen {
  from { transform: rotateX(0deg); }
  to   { transform: rotateX(-165deg); }
}
@keyframes envLetterRise {
  0%   { transform: translateY(8%) rotate(-1.5deg) scale(0.96); }
  100% { transform: translateY(-118%) rotate(0deg) scale(1.03); }
}
@keyframes envIntroFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes envHintIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 0.8; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 420px) {
  .wax-seal { width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 1.15rem; }
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 242, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 138, 148, 0.25);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--rose-deep);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 18px 24px 26px;
    gap: 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(201,138,148,0.25);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--rose-deep);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-ornament {
  width: 120px;
  margin: 0 auto 18px;
  color: var(--gold);
  opacity: 0;
  animation: fadeDown 1s ease forwards 0.1s;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--rose-deep);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
  font-family: var(--font-script);
  color: var(--rose-deep);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.15;
  margin: 10px 0 6px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
  text-shadow: 0 4px 18px rgba(201,138,148,0.25);
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.7s;
}

.hero-datebar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gold-light);
  border-radius: 100px;
  padding: 12px 26px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.9s;
}
.hero-datebar strong { color: var(--rose-deep); }
.hero-datebar .sep { color: var(--gold); }

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.1s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px) rotate(0deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-ghost {
  background: var(--white);
  color: var(--rose-deep);
  border: 1.5px solid var(--blush-2);
}
.btn-confetti {
  background: var(--gold-light);
  color: #5c4720;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--rose-deep);
  opacity: 0.75;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* ---------- sections generic ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}
.section-alt { background: var(--cream-2); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}
.section-eyebrow {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 6px;
  display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--rose-deep);
  margin: 0 0 14px;
}
.section-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- our story gallery ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 780px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}

.polaroid {
  background: var(--white);
  padding: 10px 10px 26px;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.polaroid:nth-child(odd)  { transform: rotate(-3deg); }
.polaroid:nth-child(even) { transform: rotate(3deg); }
.polaroid:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow: 0 20px 34px -14px rgba(74,58,61,0.32);
  z-index: 5;
}
.polaroid img {
  border-radius: 3px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.polaroid figcaption {
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--rose-deep);
  margin-top: 8px;
}

/* ---------- timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}

.timeline-compact {
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .timeline-compact { grid-template-columns: 1fr; }
}

.tl-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201,138,148,0.15);
  transition: transform 0.3s ease;
}
.tl-card:hover { transform: translateY(-6px); }

.tl-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--rose-deep);
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.tl-icon-emoji {
  font-size: 26px;
  line-height: 1;
  padding: 0;
}
.tl-time {
  font-family: var(--font-head);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.tl-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.tl-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ---------- accordions ---------- */
.accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201,138,148,0.15);
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--rose-deep);
}
.acc-trigger .acc-emoji { font-size: 1.4rem; }
.acc-trigger .acc-label { flex: 1; }
.acc-trigger .acc-chevron {
  transition: transform 0.3s ease;
  color: var(--gold);
  flex-shrink: 0;
}
.acc-item.open .acc-trigger .acc-chevron { transform: rotate(180deg); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc-panel-inner {
  padding: 4px 24px 28px;
}

.acc-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.55;
}

.thumb-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.thumb {
  position: relative;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201,138,148,0.2);
  flex: 1 1 180px;
  max-width: 240px;
  transition: transform 0.25s ease;
}
.thumb:hover { transform: translateY(-4px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .thumb-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(74,58,61,0.72);
  color: var(--white);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 100px;
}
.thumb .thumb-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.9);
  color: var(--rose-deep);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rose-deep);
  text-decoration: none;
}
.pdf-link:hover { text-decoration: underline; }

.callout {
  margin-top: 28px;
  background: var(--blush);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout .callout-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.callout p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
.callout strong { color: var(--rose-deep); }

/* ---------- hotel / stay section ---------- */
.hotel-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
  margin-bottom: 34px;
}
.hotel-card img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.hotel-card-body {
  padding: 24px 28px;
  text-align: center;
}
.hotel-card-body h3 {
  font-family: var(--font-head);
  color: var(--rose-deep);
  margin: 0 0 6px;
  font-size: 1.3rem;
}
.hotel-card-body p {
  color: var(--ink-soft);
  margin: 0;
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--cream-2);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}
.code-box .code-value {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--rose-deep);
}
.copy-btn {
  background: var(--rose-deep);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.copy-btn:hover { background: var(--rose); transform: translateY(-2px); }
.copy-btn.copied { background: var(--sage); }

.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 4px 42px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--ink);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  background: var(--gold-light);
  color: #5c4720;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.steps a { font-weight: 700; }

.urgency {
  margin-top: 22px;
  background: #fbeceb;
  border-left: 4px solid var(--rose-deep);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 70px 24px 40px;
  background: var(--rose-deep);
  color: var(--cream);
}
.footer-signature {
  font-family: var(--font-script);
  font-size: 2.4rem;
  margin-bottom: 6px;
}
.footer-note {
  opacity: 0.85;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 18px;
  line-height: 1.6;
}
.footer-hearts { font-size: 1.2rem; letter-spacing: 8px; opacity: 0.9; }
.footer-fine {
  margin-top: 26px;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(40, 26, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.85rem;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 100px;
}

.lightbox-track {
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.lightbox-track.single {
  overflow-x: hidden;
  justify-content: center;
}
.lightbox-page {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 20px 30px;
  overflow-y: auto;
  box-sizing: border-box;
}
.lightbox-track.single .lightbox-page {
  align-items: center;
  overflow-y: hidden;
  padding: 40px 20px;
}
.lightbox-page img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.lightbox-track.single .lightbox-page img {
  max-height: 84vh;
  width: auto;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }

.lightbox-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hotel-card img { max-height: 240px; }
}
