@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

:root {
  --night-0:    #010208;
  --night-1:    #04060e;
  --night-2:    #070b16;
  --night-3:    #0b1020;
  --night-4:    #111828;

  --gold-0:     #fff8e7;
  --gold-1:     #f2cc5a;
  --gold-2:     #c9a227;
  --gold-3:     #9a7418;
  --gold-4:     #5c420a;

  --white:      #ffffff;
  --white-soft: #f0e8d4;
  --white-dim:  #a09070;

  --cream:      var(--white-soft);
  --cream-soft: #c8b890;
  --cream-dim:  #7a6a50;

  --blush:       var(--night-1);
  --blush-2:     var(--night-2);
  --petal-1:     var(--night-3);
  --petal-2:     var(--night-4);
  --rose-soft:   var(--gold-2);
  --lavender-1:  var(--night-3);
  --lavender-2:  var(--gold-4);
  --plum-light:  var(--gold-2);
  --plum:        var(--gold-3);
  --plum-dark:   var(--gold-4);
  --gold:        var(--gold-2);
  --gold-pale:   var(--gold-1);
  --ink:         var(--white-soft);
  --ink-soft:    var(--cream-soft);
  --gray:        var(--cream-dim);
  --gray-light:  var(--night-4);

  --title:   'Cinzel', 'Playfair Display', Georgia, serif;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --script:  'Dancing Script', cursive;
  --sans:    'Jost', 'Montserrat', system-ui, sans-serif;

  --r:    14px;
  --r-sm: 7px;
  --bdr:  1px solid rgba(201,162,39,0.18);

  --font-d:       var(--title);
  --font-s:       var(--script);
  --font-b:       var(--sans);
  --font-display: var(--title);
  --font-script:  var(--script);
  --font-body:    var(--sans);
  --radius:       var(--r);
  --radius-sm:    var(--r-sm);
  --border:       var(--bdr);
  --border-rose:  var(--bdr);

  --shadow-card: none;
  --shadow-sm:   none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--white-soft);
  background: var(--night-0);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  content-visibility: auto;
}

#gifts,
#hospedaje,
#instagram,
#padrinos,
#trivia,
#rsvp,
#pases {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

body.env-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ico-14 { width: 14px; height: 14px; }
.ico-16 { width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-20 { width: 20px; height: 20px; }
.ico-24 { width: 24px; height: 24px; }
.ico-28 { width: 28px; height: 28px; }
.ico-32 { width: 32px; height: 32px; }

@media print {
  nav,
  .music-player,
  .petals-wrap,
  #countdown,
  #phrase,
  #itinerary,
  #location,
  #dresscode,
  #gallery,
  #gifts,
  #hospedaje,
  #instagram,
  #padrinos,
  #trivia,
  #rsvp,
  #acceso,
  footer,
  .env-overlay {
    display: none !important;
  }

  #pases {
    padding: 0 !important;
  }

  .pase-layout {
    grid-template-columns: 1fr !important;
  }

  .pase-preview {
    position: static !important;
  }
}

/* ── ENVELOPE OVERLAY ── */
.env-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--night-0);
  transition: opacity 1s ease, visibility 1s;
  overscroll-behavior: none;
  touch-action: none;
}

.env-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.env-overlay.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.env-scene {
  position: absolute;
  inset: 0;
}

.env-envelope {
  position: absolute;
  inset: 0;
  background: var(--night-2);
  overflow: hidden;
}

.env-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.env-flap-left {
  background: var(--night-3);
  clip-path: polygon(0 0, 0 100%, 50.5% 50%);
}

.env-flap-right {
  background: var(--night-4);
  clip-path: polygon(100% 0, 100% 100%, 49.5% 50%);
}

.env-flap-bottom {
  background: var(--night-3);
  clip-path: polygon(0 100%, 100% 100%, 50% 49.5%);
}

.env-flap-top {
  background: linear-gradient(175deg, #0b1020 0%, #04060e 100%);
  clip-path: polygon(0 0, 100% 0, 50% 50.5%);
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}

.env-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gold-2);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.env-seal-ring {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  pointer-events: none;
}

.env-seal-monogram {
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--night-0);
  line-height: 1;
  margin-top: 4px;
  letter-spacing: -1px;
}

.env-seal-text {
  font-family: var(--sans);
  font-size: 0.44rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(1,2,8,0.65);
  margin-top: -2px;
}

.env-letter { display: none; }
.env-letter-inner,
.env-letter-tag,
.env-letter-name,
.env-letter-sub { display: none; }

.env-overlay.opening .env-flap-top {
  transform: perspective(1000px) rotateX(-175deg);
}

.env-overlay.opening .env-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.96);
  transition-duration: 0.08s;
}

.btn-primary {
  background: var(--gold-2);
  border: 1px solid var(--gold-2);
  color: var(--night-0);
}

.btn-primary:hover {
  background: var(--gold-1);
  border-color: var(--gold-1);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(201,162,39,0.40);
  color: var(--gold-2);
}

.btn-outline:hover {
  background: var(--gold-2);
  color: var(--night-0);
  border-color: var(--gold-2);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── SECTIONS ── */
section {
  position: relative;
  padding: 100px 24px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--title);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 14px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-2);
}

.section-sub {
  max-width: 460px;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.3px;
  line-height: 2;
  color: var(--cream-dim);
}

/* ── HERO ── */
#hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 120px 24px 100px;
  background-image: url("../imgs/XV1.jpg");
  background-size: cover;
  background-position: center top;
  background-attachment: scroll;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(1,2,8,0.78);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 2;
}

.hero-blob {
  display: none;
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-rule-diamond {
  width: 5px;
  height: 5px;
  background: rgba(201,162,39,0.70);
  transform: rotate(45deg);
}

.hero-rule-icon {
  color: rgba(201,162,39,0.80);
}

.hero-pre {
  font-family: var(--sans);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hero-name {
  font-family: var(--script);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.92;
  color: var(--white);
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

.hero-xv {
  font-family: var(--title);
  font-size: clamp(0.65rem, 2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 14px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  opacity: 0;
  animation: fadeUp 0.7s 0.9s forwards;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 26px 0;
  opacity: 0;
  animation: fadeUp 0.7s 1.1s forwards;
}

.hero-divider-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(201,162,39,0.30);
}

.hero-divider-icon {
  color: rgba(201,162,39,0.75);
}

.hero-date {
  font-family: var(--title);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.65);
  opacity: 0;
  animation: fadeUp 0.7s 1.3s forwards;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: rgb(255, 255, 255);
  opacity: 0;
  animation: fadeUp 0.7s 1.9s forwards;
}

.hero-scroll span:first-child {
  font-size: 0.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-scroll .ico {
  animation: bounce 2s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@media (max-width: 768px) {
  #hero {
    background-position: center center;
  }
}

/* ── COUNTDOWN ── */
#countdown {
  background: var(--night-2);
  padding: 80px 24px;
  border-top: 1px solid rgba(201,162,39,0.10);
  border-bottom: 1px solid rgba(201,162,39,0.10);
}

.cd-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cd-tag {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-2);
  display: block;
  margin-bottom: 6px;
}

.cd-title {
  font-family: var(--title);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--white-soft);
  margin-bottom: 52px;
  font-style: italic;
}

.cd-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 104px;
  padding: 0 14px;
}

.cd-num {
  font-family: var(--title);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.cd-label {
  font-size: 0.48rem;
  font-weight: 300;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-2);
  opacity: 0.7;
  margin-top: 10px;
}

.cd-colon {
  font-family: var(--title);
  font-size: 2.5rem;
  color: rgba(201,162,39,0.35);
  padding-bottom: 18px;
  line-height: 1;
}

/* ── PHRASE ── */
#phrase {
  background: var(--night-1);
  text-align: center;
  padding: 100px 24px;
}

.phrase-quote-icon {
  color: var(--gold-2);
  margin-bottom: 18px;
}

.phrase-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.5vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.78;
  max-width: 740px;
  margin: 0 auto 26px;
}

.phrase-attr {
  font-family: var(--script);
  font-size: 1.25rem;
  color: var(--gold-2);
}

/* ── ITINERARY ── */
#itinerary {
  background: var(--night-2);
}

.timeline {
  margin-top: 56px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: rgba(201,162,39,0.20);
}

.tl-item {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 28px 10px 0;
  text-align: center;
  animation: fadeUp linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--night-2);
  border: 1.5px solid var(--gold-2);
  transition: background 0.25s, transform 0.25s;
}

.tl-item:hover .tl-dot {
  background: var(--gold-2);
  transform: translateX(-50%) scale(1.3);
}

.tl-icon {
  color: var(--gold-2);
  margin-bottom: 4px;
}

.tl-time {
  font-family: var(--title);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
}

.tl-event {
  font-family: var(--title);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gold-2);
  margin: 3px 0 4px;
}

.tl-desc {
  font-size: 0.64rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.65;
}

/* ── LOCATIONS ── */
#location-ceremonia {
  background: var(--night-2);
}

#location-fiesta {
  background: var(--night-1);
}

.loc-stop {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.loc-stop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  flex-shrink: 0;
}

.loc-stop-num {
  font-family: var(--title);
  font-size: 0.65rem;
  color: var(--gold-2);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.loc-stop-line {
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: var(--gold-2);
  opacity: 0.12;
}

.loc-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 64px 0;
}

.loc-divider-line {
  flex: 1;
  height: 1px;
  background: var(--gold-2);
  opacity: 0.10;
}

.loc-divider-text {
  font-family: var(--title);
  font-size: 1rem;
  color: var(--gold-2);
  font-weight: 400;
  white-space: nowrap;
}

.loc-editorial {
  flex: 1;
  max-width: 1000px;
}

.loc-ed-header {
  margin-bottom: 40px;
}

.loc-ed-tag {
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-2);
  display: block;
  margin-bottom: 10px;
}

.loc-ed-title {
  font-family: var(--title);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.loc-ed-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.loc-ed-body--reverse {
  grid-template-columns: 1.5fr 1fr;
}

.loc-ed-info {
  padding-top: 8px;
}

.loc-ed-rule {
  width: 40px;
  height: 1px;
  background: var(--gold-2);
  margin-bottom: 28px;
  opacity: 0.40;
}

.loc-ed-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.loc-ed-label {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-top: 2px;
}

.loc-ed-val {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--white-soft);
  line-height: 1.65;
}

.loc-ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: 14px 26px;
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 50px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

@media (hover: hover) {
  .loc-ed-btn:hover {
    background: var(--gold-2);
    color: var(--night-0);
    border-color: var(--gold-2);
  }
}

.loc-ed-btn:active {
  background: var(--gold-2);
  color: var(--night-0);
  transform: scale(0.97);
}

.loc-ed-map {
  height: 380px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.14);
  width: 100%;
  display: block;
}

.map-facade {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--night-2);
  border-radius: 12px;
  min-height: 300px;
  width: 100%;
}

.map-facade-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white-soft);
  padding: 24px;
}

.map-facade-content p {
  font-size: 0.9rem;
  font-weight: 400;
  font-family: var(--sans);
  color: var(--cream-soft);
}

.map-facade iframe,
.loc-ed-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: var(--r);
}

/* ── DRESSCODE ── */
#dresscode {
  background: var(--night-2);
}

.dc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.dc-card {
  padding: 44px 28px;
  text-align: center;
  border-radius: var(--r);
  border: 1px solid rgba(201,162,39,0.10);
  background: var(--night-3);
  transition: border-color 0.25s;
}

.dc-card:hover {
  border-color: rgba(201,162,39,0.30);
}

.dc-card.dc-avoidance {
  border-color: rgba(200, 70, 70, 0.12);
}

.dc-icon {
  color: var(--gold-2);
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.dc-card h4 {
  font-family: var(--title);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}

.dc-card p {
  font-size: 0.74rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.9;
}

.dc-palette {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dc-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  outline: 1px solid rgba(255,255,255,0.10);
}

/* ── GALLERY ── */
#gallery {
  background: var(--night-1);
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 10px;
  margin-top: 48px;
}

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  cursor: pointer;
  contain: layout style paint;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid rgba(201,162,39,0.08);
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

@media (hover: hover) {
  .g-item:hover img {
    transform: scale(1.04);
  }
  .g-item:hover .g-overlay {
    opacity: 1;
  }
}

.g-item:active img {
  transform: scale(1.04);
}

.g-item:active .g-overlay {
  opacity: 1;
}

.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,162,39,0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.g-tall {
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(1,2,8,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lbImg {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lb-close:active { opacity: 1; transform: scale(0.92); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lb-nav:active { opacity: 1; transform: translateY(-50%) scale(0.92); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ── GIFTS ── */
#gifts {
  background: var(--night-2);
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.gift-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 20px 28px;
  text-align: center;
  cursor: pointer;
  border-radius: var(--r);
  border: 1px solid rgba(201,162,39,0.10);
  background: var(--night-3);
  transition: border-color 0.25s;
}

.gift-card:hover {
  border-color: rgba(201,162,39,0.30);
}

.gift-card:hover .gift-btn {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--night-0);
}

.gift-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--gold-2);
}

.gift-card h4 {
  font-family: var(--title);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.gift-card p {
  flex: 1;
  font-size: 0.73rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.85;
}

.gift-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 12px;
  background: rgba(201,162,39,0.10);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
}

.gift-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 10px 22px;
  border: 1px solid rgba(201,162,39,0.30);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

/* ── HOSPEDAJE ── */
#hospedaje {
  background: var(--night-1);
}

.hotel-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}

.hc-track {
  display: flex;
  will-change: transform;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hc-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 100%;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.12);
  border-radius: var(--r);
  overflow: hidden;
}

.hc-img {
  position: relative;
  min-height: 380px;
  background: var(--night-4);
  overflow: hidden;
}

.hc-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-img-ov {
  position: absolute;
  inset: 0;
  background: rgba(1,2,8,0.35);
}

.hc-stars {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 3px;
  color: var(--gold-2);
}

.hc-info {
  display: flex;
  flex-direction: column;
  padding: 42px 40px;
}

.hc-info h3 {
  font-family: var(--title);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
}

.hc-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--white-soft);
  margin-bottom: 11px;
}

.hc-detail .ico {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold-2);
}

.hc-detail strong {
  font-weight: 500;
  color: var(--gold-2);
}

.hc-code {
  display: inline-block;
  margin: 16px 0 4px;
  padding: 9px 20px;
  background: rgba(201,162,39,0.10);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--gold-1);
}

.hc-code-label {
  font-size: 0.64rem;
  font-weight: 300;
  color: var(--cream-dim);
  margin-bottom: 20px;
}

.hc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}

.hc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--night-4);
  border: 1px solid rgba(201,162,39,0.20);
  border-radius: 50%;
  color: var(--gold-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .hc-btn:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
    color: var(--night-0);
  }
}

.hc-btn:active {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--night-0);
  transform: scale(0.94);
}

.hc-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hc-dot {
  width: 8px;
  height: 8px;
  background: rgba(201,162,39,0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 8px;
  margin: -8px;
  background-clip: content-box;
}

.hc-dot.active {
  background: var(--gold-2);
  transform: scale(1.3);
  background-clip: content-box;
}

/* ── INSTAGRAM ── */
#instagram {
  padding: 88px 24px;
  background: var(--night-2);
  border-top: 1px solid rgba(201,162,39,0.08);
  border-bottom: 1px solid rgba(201,162,39,0.08);
  text-align: center;
}

.ig-inner {
  max-width: 560px;
  margin: 0 auto;
}

.ig-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-2);
}

.ig-hashtag {
  font-family: var(--script);
  font-size: clamp(2rem, 7vw, 3.8rem);
  color: var(--white);
  margin-bottom: 14px;
}

.ig-desc {
  font-size: 0.77rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--cream-dim);
  margin-bottom: 28px;
}

.ig-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid rgba(201,162,39,0.28);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-2);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.ig-copy-btn:hover {
  background: rgba(201,162,39,0.10);
  border-color: rgba(201,162,39,0.50);
}

/* ── PADRINOS ── */
#padrinos {
  background: var(--night-2);
}

.fp-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-2);
  margin-bottom: 12px;
}

.fp-title {
  font-family: var(--title);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  color: var(--white);
  margin-bottom: 52px;
}

.fp-block {
  margin-bottom: 52px;
}

.fp-block-rule {
  width: 40px;
  height: 1px;
  background: var(--gold-2);
  opacity: 0.35;
  margin: 0 auto 18px;
}

.fp-block-label {
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream-dim);
  margin-bottom: 36px;
}

.fp-people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  justify-items: center;
}

.fp-padrinos-grid {
  grid-template-columns: repeat(3, 1fr);
}

.fp-person {
  text-align: center;
}

.fp-person-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201,162,39,0.14);
  border-radius: 50%;
  color: var(--cream-dim);
  margin: 0 auto 10px;
  transition: border-color 0.2s, color 0.2s;
}

.fp-person:hover .fp-person-icon {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.fp-person-icon--star {
  border-color: rgba(201,162,39,0.22);
  color: var(--gold-2);
}

.fp-person:hover .fp-person-icon--star {
  border-color: var(--gold-2);
}

.fp-person-role {
  font-family: var(--sans);
  font-size: 0.53rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 5px;
}

.fp-person-name {
  font-family: var(--title);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white-soft);
}

/* ── TRIVIA ── */
#trivia {
  background: var(--night-1);
}

.trivia-wrap {
  max-width: 680px;
  margin: 52px auto 0;
}

.trivia-card {
  padding: 48px 46px;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.12);
  border-radius: var(--r);
}

.trivia-prog {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
}

.tpd {
  flex: 1;
  height: 2px;
  background: rgba(201,162,39,0.12);
  border-radius: 2px;
  transition: background 0.3s;
}

.tpd.done {
  background: var(--gold-2);
}

.tpd.current {
  background: var(--gold-1);
}

.trivia-qnum {
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 10px;
}

.trivia-question {
  font-family: var(--title);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 28px;
}

.trivia-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.trivia-opt {
  padding: 14px 18px;
  background: var(--night-4);
  border: 1px solid rgba(201,162,39,0.12);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  text-align: left;
  color: var(--white-soft);
  cursor: pointer;
  transition: border-color 0.2s, background 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  user-select: none;
  -webkit-user-select: none;
}

@media (hover: hover) {
  .trivia-opt:hover:not(:disabled) {
    background: rgba(201,162,39,0.10);
    border-color: rgba(201,162,39,0.32);
  }
}

.trivia-opt:active:not(:disabled) {
  background: rgba(201,162,39,0.10);
  border-color: rgba(201,162,39,0.32);
  transform: scale(0.98);
}

.trivia-opt.correct {
  background: rgba(46,125,50,0.14);
  border-color: #4caf50;
  color: #a5d6a7;
}

.trivia-opt.wrong {
  background: rgba(198,40,40,0.12);
  border-color: #ef5350;
  color: #ef9a9a;
}

.trivia-result {
  text-align: center;
}

.trivia-result .res-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-2);
}

.trivia-result h3 {
  font-family: var(--title);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 7px;
}

.trivia-result p {
  font-size: 0.79rem;
  font-weight: 300;
  color: var(--cream-dim);
}

.score-bar {
  height: 2px;
  background: rgba(201,162,39,0.12);
  border-radius: 2px;
  margin: 18px 0;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: var(--gold-2);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ── RSVP ── */
#rsvp {
  background: var(--night-2);
}

.rsvp-wrap {
  max-width: 560px;
  margin: 52px auto 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.14);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--cream-dim);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-2);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.radio-row {
  display: flex;
  gap: 10px;
}

.radio-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
  padding: 14px;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.14);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  text-align: center;
  color: var(--cream-dim);
  cursor: pointer;
  transition: border-color 0.2s, color 0.15s, background 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 52px;
  user-select: none;
  -webkit-user-select: none;
}

@media (hover: hover) {
  .radio-opt:hover {
    background: rgba(201,162,39,0.08);
    border-color: rgba(201,162,39,0.28);
  }
}

.radio-opt:active {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.28);
  transform: scale(0.98);
}

.radio-opt.active {
  background: rgba(201,162,39,0.10);
  border-color: var(--gold-2);
  font-weight: 400;
  color: var(--gold-1);
}

.rsvp-ok {
  display: none;
  padding: 48px 28px;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: var(--r);
  text-align: center;
  animation: popIn 0.5s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.rsvp-ok-icon {
  margin-bottom: 16px;
  color: var(--gold-2);
}

.rsvp-ok h3 {
  font-family: var(--script);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 8px;
}

.rsvp-ok p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--cream-dim);
  margin-bottom: 22px;
}

/* ── PASES ── */
#pases {
  background: var(--night-1);
}

.pase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 56px;
}

.pase-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pase-preview {
  position: sticky;
  top: 80px;
}

.pase-tip {
  padding: 13px 17px;
  background: rgba(201,162,39,0.06);
  border: 1px solid rgba(201,162,39,0.14);
  border-radius: var(--r-sm);
  font-size: 0.69rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--cream-dim);
}

.pase-card {
  position: relative;
  padding: 42px 34px;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.16);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.25s;
}

.pase-card:hover {
  border-color: rgba(201,162,39,0.35);
}

.pase-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-2);
  opacity: 0.55;
}

.pase-ornament {
  margin-bottom: 8px;
  color: var(--gold-2);
}

.pase-event-name {
  font-family: var(--script);
  font-size: 2.8rem;
  color: var(--white);
}

.pase-sub-line {
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 4px;
}

.pase-hr {
  width: 36px;
  height: 1px;
  background: rgba(201,162,39,0.22);
  margin: 16px auto;
}

.pase-guest-label {
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 4px;
}

.pase-guest-name {
  font-family: var(--title);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
}

.pase-guest-count {
  font-size: 0.72rem;
  color: var(--cream-dim);
  margin-bottom: 20px;
}

.pase-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0;
  padding: 14px;
  background: var(--night-4);
  border: 1px solid rgba(201,162,39,0.12);
  border-radius: 12px;
}

#paseQRCanvas canvas,
#paseQRCanvas img {
  width: 128px !important;
  height: 128px !important;
}

.pase-qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  gap: 6px;
  margin: 0 auto;
  background: rgba(201,162,39,0.06);
  border-radius: 8px;
  font-size: 0.63rem;
  letter-spacing: 1px;
  color: var(--gold-3);
}

.pase-footer-row {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,162,39,0.12);
}

.pfi-item label {
  display: block;
  font-family: var(--sans);
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 3px;
}

.pfi-item span {
  font-family: var(--title);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white-soft);
}

.pase-id {
  font-size: 0.56rem;
  letter-spacing: 1.5px;
  color: var(--cream-dim);
  margin-top: 12px;
}

/* ── MUSIC PLAYER ── */
.music-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.music-tip {
  padding: 8px 14px;
  background: var(--night-3);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--gold-2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.3s, transform 0.3s;
}

.music-player:hover .music-tip {
  opacity: 1;
  transform: none;
}

.music-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gold-2);
  border: none;
  border-radius: 50%;
  color: var(--night-0);
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .music-btn:hover {
    background: var(--gold-1);
    transform: scale(1.08);
  }
}

.music-btn:active {
  background: var(--gold-1);
  transform: scale(0.94);
}

.music-btn.playing {
  animation: musicRing 2.5s ease-in-out infinite;
}

@keyframes musicRing {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.68; }
}

/* ── FOOTER ── */
footer {
  padding: 68px 24px;
  background: var(--night-0);
  border-top: 1px solid rgba(201,162,39,0.08);
  text-align: center;
}

.footer-name {
  display: block;
  font-family: var(--script);
  font-size: 3rem;
  color: var(--gold-2);
  margin-bottom: 14px;
}

footer p {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.12);
}

footer p + p {
  margin-top: 6px;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,162,39,0.12);
  transition: color 0.2s;
}

.footer-admin-link:hover {
  color: rgba(201,162,39,0.35);
}

/* ── RESPONSIVE TABLET ≤960px ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .loc-ed-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .loc-ed-map { height: 280px; }
  .loc-ed-row { grid-template-columns: 90px 1fr; }
  .loc-ed-body--reverse { grid-template-columns: 1fr; }
  .loc-ed-body--reverse .loc-ed-map { order: 2; }

  .dc-grid { grid-template-columns: 1fr 1fr; }
  .gifts-grid { grid-template-columns: 1fr 1fr; }
  .fp-people-grid { grid-template-columns: repeat(3, 1fr); }
  .fp-padrinos-grid { grid-template-columns: repeat(3, 1fr); }

  .hc-slide { grid-template-columns: 1fr; }
  .hc-img { min-height: 230px; order: -1; }
  .hc-info { padding: 28px 26px; }
  .pase-layout { grid-template-columns: 1fr; }
  .pase-preview { position: static; }
}

/* ── RESPONSIVE MÓVIL ≤640px ── */
@media (max-width: 640px) {
  section { padding: 72px 18px; }
  .hero-name { font-size: clamp(4rem, 18vw, 6rem); }
  .hero-xv { letter-spacing: 7px; }
  .cd-grid { gap: 6px; }
  .cd-block { min-width: 72px; padding: 12px 7px; }
  .cd-colon { font-size: 1.7rem; }
  .dc-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .g-item.g-tall { grid-row: span 1; aspect-ratio: 1; }
  .g-item.g-wide { grid-column: span 1; aspect-ratio: 1; }
  .gifts-grid { grid-template-columns: 1fr 1fr; }
  .fp-people-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .fp-padrinos-grid { grid-template-columns: 1fr 1fr; }
  .trivia-opts { grid-template-columns: 1fr; }
  .trivia-card { padding: 28px 20px; }
  .radio-row { flex-direction: column; }
  .pase-card { padding: 30px 20px; }
  .pase-event-name { font-size: 2.2rem; }
  .music-player { bottom: 14px; right: 14px; }
  .lb-nav { width: 38px; height: 38px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .env-letter-name { font-size: 2.4rem; }
  .loc-ed-row { grid-template-columns: 1fr; gap: 4px; }
  .loc-ed-label { display: none; }
  .loc-ed-map { height: 240px; border-radius: 10px; }
  .loc-stop { gap: 16px; }
  .loc-stop-label { display: none; }
  .timeline {
    flex-direction: column;
    padding-left: 44px;
    max-width: 100%;
  }
  .timeline::before {
    left: 15px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 1px;
    height: auto;
  }
  .tl-item {
    flex: none;
    padding: 0 0 36px 32px;
    text-align: left;
  }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-dot {
    top: 4px;
    left: -29px;
    transform: none;
  }
  .tl-item:hover .tl-dot {
    transform: scale(1.3);
  }
  .tl-time { font-size: 1.4rem; }
  .tl-event { font-size: 1rem; }
  .tl-desc { font-size: 0.72rem; }
}

@media (max-width: 400px) {
  .gifts-grid { grid-template-columns: 1fr; }
  .fp-people-grid { grid-template-columns: 1fr 1fr; }
  .cd-block { min-width: 62px; }
  .cd-num { font-size: 2.4rem; }
  .loc-ed-map { height: 200px; }
}