/* Imagen principal debajo del contador con difuminado arriba */
.main-image-blur {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  margin: 8px auto 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
}

.main-image-blur img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  /* Sube un píxel para cubrir cualquier borde */
  height: 60%;
  /* Cambiamos el inicio para que sea más suave y evitar bordes duros */
  background: linear-gradient(to bottom,
      rgba(255, 249, 242, 1) 0%,
      rgba(255, 249, 242, 0.96) 20%,
      rgba(255, 249, 242, 0) 100%);
  pointer-events: none;
  z-index: 1;
  /* Asegura que esté sobre la imagen */
}

/* Contador sobre la imagen principal */
.main-image-with-counter {
  position: relative;
}

.main-image-counter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  padding-top: 32px;
  pointer-events: none;
}

.main-image-counter h3,
.main-image-counter .countdown {
  pointer-events: auto;
}

.main-image-counter .countdown {
  background: none;
  border-radius: 0;
  padding: 8px 18px 4px 18px;
  margin-top: 0;
  box-shadow: none;
  display: flex;
  gap: 18px;
}

.main-image-counter .cd-box {
  text-align: center;
}

.main-image-counter .cd-num {
  font-size: 2.2em;
  font-weight: bold;
  color: #2f3b5c;
}

@media (max-width: 600px) {
  .main-image-counter .cd-num {
    font-size: 2.0em;
  }
}

.main-image-counter .cd-lbl {
  font-size: 0.9em;
  color: #555;
}

@media (max-width: 600px) {
  .main-image-counter {
    padding-top: 12px;
  }

  .main-image-counter .countdown {
    padding: 6px 8px 2px 8px;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .main-image-blur {
    max-width: 100vw;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    margin-top: 50px;
    aspect-ratio: unset;
    box-shadow: none;
    background-color: #fff9f2;
    /* Asegura que el fondo coincida con el cuerpo */
    overflow: hidden;
  }

  .main-image-blur img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
    /* Quita el espacio inferior de línea base */
    border-radius: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    /* Fuerza renderizado por hardware */
  }
}

/* Galería de fotos responsive */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 32px auto;
  padding: 12px 0 0 0;
}

.gallery-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  background: #fff;
}

.gallery-thumb:focus,
.gallery-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  outline: 2px solid #d0bfa7;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0;
  width: 100vw;
  height: 100vh;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* Desenfoque de fondo */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Evita gestos extraños en móvil */
  touch-action: none;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 10px;
  background: transparent;
  /* Sin fondo blanco */
  object-fit: contain;
  /* Transición suave para el cambio de imagen */
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  font-size: 2.2em;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.2s, opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  outline: none;
  z-index: 2;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 2.5em;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
}

@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-thumb {
    height: 28vw;
    min-height: 90px;
    max-height: 32vw;
  }

  .lightbox-img {
    max-width: 98vw;
    max-height: 60vh;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 1.7em;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }
}

@media (max-width: 600px) {
  .auto-carousel .carousel-arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    font-size: 2.2em;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    outline: none;
  }

  .auto-carousel .carousel-arrow.left {
    left: 8px;
  }

  .auto-carousel .carousel-arrow.right {
    right: 8px;
  }

  .auto-carousel .carousel-arrow:active {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .auto-carousel {
    height: 60vw;
    min-height: 220px;
    max-height: 80vw;
  }

  .auto-carousel .carousel-track {
    gap: 0;
    width: 100vw;
    height: 100%;
    overflow: visible;
  }

  .auto-carousel {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .auto-carousel img {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    background: #000;
    scroll-snap-align: center;
  }

  /* Oculta el resto de imágenes fuera del viewport */
  .auto-carousel .carousel-track {
    scroll-snap-type: x mandatory;
  }

  .auto-carousel img {
    scroll-snap-align: center;
  }
}

/* Solo para las imágenes del carrusel automático */
.auto-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 260px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-carousel .carousel-track {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.auto-carousel img {
  width: 30vw;
  max-width: 340px;
  min-width: 220px;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  margin: 0 10px;
  display: block;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.2s;
}

.service-desc {
  max-height: 0;
}

/* ===== SCROLL INTERNO SOLO PARA SERVICIOS ===== */

/* Panel de servicios cerrado */
.service-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 5px;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

/* Panel de servicios abierto */
.service-desc.open {
  max-height: 55vh;
  /* altura máxima del panel */
  overflow-y: auto;
  /* 🔥 scroll vertical */
  opacity: 1;
  padding-top: 10px;
  padding-right: 6px;
  /* espacio para scrollbar */
}

.service-desc::-webkit-scrollbar {
  width: 6px;
}

.service-desc::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

.service-desc::-webkit-scrollbar-track {
  background: transparent;
}


.service-desc a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: #d0bfa7;
  color: #fff;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.2s ease;
  margin-bottom: 15px;
}

/* Imagen representativa por categoría (encabezado de cada grupo) */
.service-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

/* Miniatura junto al título de la categoría (visible siempre) */
.service-row-left .service-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  background: #f0ebe3;
  flex: 0 0 40px;
}

/* Fila de categoría: texto a la izquierda, + a la derecha */
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.service-plus {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
}

/* Imagen representativa que aparece dentro del panel desplegable (oculta por defecto) */
.service-category-header-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  background: #f0ebe300;
  display: none;
  /* no ocupa espacio cuando el panel está cerrado */
  margin-bottom: 10px;
}

.service-desc.open .service-category-header-img {
  display: block;
}

@media (max-width: 600px) {
  .service-category-header-img {
    max-height: 200px;
    max-width: 200px;
    margin: 0 auto;
  }

}

.service-desc a:hover {
  background: #b39e87;
  transform: translateY(-2px);
}


/* Link de WhatsApp dentro de servicios */
.service-desc a.whatsapp-link {
  color: #2f3b5c;
  /* mismo tono elegante */
  font-weight: 500;
  text-decoration: none;
  /* sin subrayado feo */
  border-bottom: 1px solid rgba(47, 59, 92, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Hover sutil */
.service-desc a.whatsapp-link:hover {
  color: #1f2a44;
  border-bottom-color: #1f2a44;
}




/* ————— TARJETA PRINCIPAL ————— */
.hotel-board-wrapper {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  background: #1c1c1c;
}

.hotel-board {
  background: #f7f1e6;
  padding: 0px 45px 30px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hotel-board-script {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  margin: 0 0 10px;
}

.hotel-board-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 3px;
  font-size: 24px;
  margin-bottom: 25px;
}

/* ————— LISTA ————— */
.hotel-board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hotel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.hotel-plus {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Rotación del + */

/* estilos para que el carrusel acepte vídeos junto a imágenes */
.hotel-carousel .carousel-track img,
.hotel-carousel .carousel-track video {
  width: 100%;
  display: block;
}


.hotel-row.open .hotel-plus {
  transform: rotate(45deg);
}

/* ————— PANEL DESPLEGABLE ————— */
.hotel-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 5px;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}

.hotel-desc.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 10px;
}

/* ————— BOTÓN BONITO ————— */
.hotel-map-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: #d0bfa7;
  color: #fff;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.2s ease;
  margin-bottom: 15px;
}

.hotel-map-btn:hover {
  background: #b39e87;
  transform: translateY(-2px);
}

.hotel-map-btn:active {
  transform: translateY(0);
}


/* Panel oculto */
.hotel-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 5px;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
}

.hotel-desc a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}



/* Rotar el símbolo + cuando se abre */
.hotel-row.open .hotel-plus {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}


.hotel-info {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 13px;
}

/* ===== CARRUSEL AUTOMÁTICO ===== */

.auto-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 350px;
  /* puedes ajustar la altura aquí */
  background: #000;
  display: flex;
  align-items: center;
}

.auto-carousel .carousel-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 6px;
  /* Espacio reducido entre imágenes */
}

.auto-carousel img {
  display: block;
  height: 100%;
  width: 120px;
  /* Aún menos ancho */
  max-width: 40vw;
  object-fit: cover;
  margin-right: 0;
  background: #000;
}

/* no scrollbar visible */
.auto-carousel::-webkit-scrollbar {
  display: none;
}

.auto-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hotel-info h3 {
  margin: 0 0 4px;
  letter-spacing: 2px;
  font-size: 14px;
}

.hotel-info p {
  margin: 0;
  line-height: 1.4;
}

.hotel-info a {
  display: inline-block;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hotel-info.hidden {
  display: none;
}

.hotel-info.show {
  display: block;
}



/* Contenedor que centra todo en la página */
.hotel-board-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1c1c1c;
  /* fondo oscuro para que destaque la tarjeta */
}

/* Tarjeta tipo letrero */
.hotel-board {
  background: #f7f1e6;
  padding: 0px 45px 30px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* “Recomendaciones” en letra cursiva */
.hotel-board-script {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  margin: 0 0 10px;
}

/* Título HOTELES */
.hotel-board-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 3px;
  font-size: 24px;
  margin: 0 0 25px;
}

/* Lista de hoteles */
.hotel-board-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

/* Cada fila */
.hotel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.hotel-plus {
  font-size: 18px;
}

/* Texto de “Más recomendaciones” */
.hotel-board-more {
  font-family: 'Cinzel', serif;
  letter-spacing: 3px;
  font-size: 14px;
  margin: 20px 0 10px;
}

/* Centrar el botón dentro de la tarjeta */
.add-to-cal {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Estilo base del botón (ajusta a tu diseño) */
.btn {
  padding: 10px 20px;
  border: none;
  background: #c0a58a;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

@media (max-width: 580px) {
  .btn {
    padding: 8px 13px;
    font-size: 14px;
  }
}


.center-img {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.center-img img {
  height: 600px;
  width: auto;
  display: block;
}


:root {
  /* Paleta pastel inspirada en acuarela */
  --bg-cream: #fff8ef;
  --pastel-rose: #ffd6e0;
  --pastel-peach: #ffe5b4;
  --pastel-mint: #caffbf;
  --pastel-sky: #a0c4ff;
  --pastel-lav: #e6d6ff;
  --ink: #4b4b4b;
  --ink-soft: #6a6a6a;
  --card: #ffffffcc;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --liverpool: #e1007a;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background-color: #fff9f2;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px
}

html {
  scroll-behavior: smooth;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px 80px;
}

/* HERO */
header.hero {
  text-align: center;
  padding: 6px 20px 32px;
}

.hero-invite {
  position: relative;
  min-height: clamp(560px, 85vh, 860px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 24px 42px;
  background-image: url("../img/portada_boda.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.hero-invite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58) 12%, rgba(0, 0, 0, 0.05) 60%);
  z-index: 1;
}

.hero-invite .names-alt,
.hero-invite .hero-date {
  position: relative;
  z-index: 2;
}

.hero-invite .names-alt {
  margin: 0;
  color: #fff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  line-height: 1.05;
}

.hero-invite .hero-date {
  margin: 12px auto 0;
  --date-gap: clamp(16px, 4vw, 40px);
  max-width: 760px;
}

.hero-invite .hero-date .side {
  font-size: clamp(20px, 2.8vw, 30px);
  letter-spacing: .14em;
}

.hero-invite .hero-date .month {
  font-size: clamp(20px, 2.4vw, 30px);
}

.hero-invite .hero-date .center .day {
  font-size: clamp(56px, 9vw, 102px);
  margin-bottom: 10px;
}

.hero-invite .hero-date .center .year {
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: .22em;
}

.hero-invite .hero-date .center::before,
.hero-invite .hero-date .center::after {
  height: clamp(92px, 16vw, 140px);
}

.hero-invite .hero-date .side,
.hero-invite .hero-date .month,
.hero-invite .hero-date .center .year {
  color: #f7f0e9;
}

.hero-invite .hero-date .center .day {
  color: #fff;
}

@media (min-width: 768px) {
  .hero-invite {
    background-image: url("../img/main_full_width.jpg");
  }
}

.names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1.05;
  color: #3e3e3e;
  text-shadow: 0 2px 0 #ffffffa0;
}

.amp {
  opacity: .7
}

.date {
  margin-top: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: .2em;
  font-size: clamp(14px, 2.5vw, 18px);
  color: #555;
}

.tagline {
  margin-top: 10px;
  color: #6b6b6b;
  font-size: 16px;
}

/* Contador */
.countdown {
  margin: 26px auto 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.cd-box {
  /*background: var(--card);
  backdrop-filter: blur(4px);
  border: 1px solid #ffffff00;
  border-radius: 14px;
  box-shadow: var(--shadow);*/
  padding: 16px 18px;
  min-width: 96px;
}


.cd-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
}

.cd-lbl {
  font-size: 12px;
  opacity: .75;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Secciones */
section {
  margin-top: 44px
}

.card {
  background: var(--card);
  backdrop-filter: blur(4px);
  border: 1px solid #ffffffaa;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(22px, 3.8vw, 30px);
  margin: 0 0 14px 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: 1.1fr 1fr
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

.pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px dashed #e9e4ff;
  font-size: 13px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  background: #2f3b5c;
  color: #ffffff;

  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12)
}

.btn:active {
  transform: translateY(0) scale(.98)
}

.add-to-cal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* Asegura que ocupe todo el espacio disponible */
}


.btn-ghost {
  background: transparent;
  border: 2px dashed rgba(0, 0, 0, .15);
  color: #3e3e3e;
}

/* Footer */
footer {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 56px;
}

/* Imagen con fade */
.watermark {
  border-radius: 16px;
  overflow: hidden;
}

.fade-image {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.fade-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 75%, rgba(255, 248, 239, 1) 100%);
  pointer-events: none;
}

.list {
  margin: 0;
  padding-left: 18px;
}

/* Animación “reveal” en scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease;
}

.topbar.light {
  background: #f7f1e6;
  /* color claro tipo la tarjeta */
  color: #5a5449;
  /* color de texto bonito */
}

.topbar.light .logo span {
  color: #5a5449;
}

.topbar.light .bar {
  background-color: #5a5449;
}


.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3e3e3e;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.logo span {
  font-family: 'Bona Nova SC', serif;
  font-weight: 400;
  font-size: 18px;
}

.hamburger {
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hamburger .bar {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #3e3e3e;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger .bar:nth-child(1) {
  top: 10px
}

.hamburger .bar:nth-child(2) {
  top: 17px
}

.hamburger .bar:nth-child(3) {
  top: 24px
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay del índice */
#menuOverlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 239, .94);
  backdrop-filter: blur(4px);
}

#menuOverlay.open {
  display: flex;
  animation: fadeIn .25s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.menu {
  text-align: center;
}

.menu a {
  display: block;
  margin: 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #3e3e3e;
}

.menu a small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #6a6a6a;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Botón Liverpool */
.btn-liverpool {
  position: relative;
  overflow: hidden;
  background: none !important;
  border: 2px solid var(--liverpool);
  color: var(--liverpool);
  padding: 12px 18px;
  transition: color .3s ease, box-shadow .15s ease, transform .15s ease;
}

.btn-liverpool::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--liverpool);
  transform: translateX(-100%);
  transition: transform .6s ease;
  z-index: 0;
}

.btn-liverpool span {
  position: relative;
  z-index: 1;
}

.btn-liverpool.paint {
  border-color: var(--liverpool);
  color: #fff;
}

.btn-liverpool.paint::before {
  transform: translateX(0);
}

.btn-liverpool:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

/* ===== Ajustes para móvil ===== */
@media (max-width: 580px) {
  .wrap {
    padding: 10px 14px 64px;
  }

  header.hero {
    padding: 10px 10px 18px;
  }

  .topbar-inner {
    padding: 10px 12px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .logo span {
    font-size: 16px;
  }

  .names {
    font-size: clamp(40px, 9vw, 72px);
  }

  .date {
    letter-spacing: .16em;
    font-size: 14px;
  }

  .tagline {
    font-size: 14px;
  }

  .countdown {
    gap: 8px;
  }

  .cd-box {
    padding: 12px 12px;
    min-width: 78px;
  }

  .cd-num {
    font-size: 44px;
  }

  .cd-lbl {
    font-size: 11px;
    letter-spacing: .1em;
  }

  .grid {
    gap: 14px;
  }

  .card {
    padding: 16px;
  }

  .section-title {
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .menu a {
    font-size: 22px;
    margin: 8px 0;
  }

  .menu a small {
    font-size: 11px;
  }

  .fade-image,
  .watermark {
    border-radius: 14px;
  }
}

/* ===== Tarjeta de pases (“invite-card”) opcional por querystring ===== */
.invite-card {
  max-width: 760px;
  margin: 18px auto 8px;
  background: #fff;
  border: 1px solid #00000012;
  border-radius: 16px;
  box-shadow: 0 14px 36px #00000014;
  overflow: hidden
}

.invite-head {
  position: relative;
  background: #faf7ff
}

.invite-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(14%)
}

.invite-names {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  letter-spacing: .22em;
  color: #3e3e3e;
}

.invite-names .big {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 4vw, 26px);
  color: white;
}

.invite-names .date {
  margin-top: 6px;
  font-size: 12px;
  opacity: .8;
  color: white;
}

.invite-body {
  padding: 22px;
  display: grid;
  place-items: center
}

.envelope-box {
  width: min(520px, 92%);
  aspect-ratio: 16/9;
  border-radius: 12px;
  position: relative;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, .15)
}

.envelope-seal {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #5270c1;
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, .5), inset 0 -8px 14px rgba(0, 0, 0, .28), 0 6px 16px rgba(0, 0, 0, .25);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: 'Playfair Display', serif
}

.reserve {
  margin: 14px 0 6px 0;
  text-align: center;
  font-size: 13px;
  color: #666;
  letter-spacing: .12em
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 2px
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #e3dede;
  background: #fff
}

.dot.filled {
  background: #5270c1;
  border-color: #5270c1
}

.who {
  text-align: center;
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600
}


/* ===== Fecha con barras pegadas al bloque central ===== */
.hero-date {
  /* Usa la misma separación para posicionar las barras */
  --date-gap: clamp(32px, 6vw, 64px);
  margin: 26px auto 6px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* izq | centro | der */
  align-items: center;
  gap: var(--date-gap);
  max-width: 880px;
}

/* Versión móvil: fecha apilada y sin desbordar */
@media (max-width: 600px) {
  .hero-date {
    --date-gap: 24px;
    margin: 24px auto 6px;
    display: grid;
    grid-template-columns: 1fr;
    /* una sola columna */
    row-gap: 10px;
    /* espacio entre líneas */
    justify-items: center;
    /* centrar todo */
    text-align: center;
  }

  /* Ocultar barras laterales en móvil */
  .hero-date .center::before,
  .hero-date .center::after {
    content: none !important;
  }

  /* “SÁBADO” y “JULIO” más pequeños y centrados */
  .hero-date .side,
  .hero-date .month {
    font-size: 33px;
    /*letter-spacing: .18em;*/
    padding: 0;
  }

  /* Día y año ajustados para que no ocupen tanto */
  .hero-date .center .day {
    font-size: 48px;
    margin-bottom: 10px;
  }

  .hero-date .center .year {
    font-size: 13px;
    /*letter-spacing: .24em;*/
  }
}


/* Lados (texto) */
.hero-date .side {

  letter-spacing: .22em;
  font-size: clamp(38px, 2.5vw, 18px);
  color: #6a5f59;
  text-align: center;
  opacity: .95;
  padding: 0 8px;
}

/* Centro (mes, día, año) */
.hero-date .center {
  position: relative;
  /* ancla de las barras */
  text-align: center;
  line-height: 1.1;
  padding: 0 6px;
}

/* BARRAS: se dibujan desde el centro, a la izquierda y derecha,
   colocadas justo en el medio del gap entre columnas */
.hero-date .center::before,
.hero-date .center::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  /* más gruesas */
  height: clamp(110px, 22vw, 170px);
  /* más altas */
  border-radius: 2px;
  /* degradado suave tipo impreso */
  background: linear-gradient(180deg,
      rgba(70, 50, 45, .05) 0%,
      rgba(70, 50, 45, .55) 45%,
      rgba(70, 50, 45, .55) 55%,
      rgba(70, 50, 45, .05) 100%);
  box-shadow: 0 0 1px rgba(0, 0, 0, .12);
}

/* izquierda y derecha, alineadas al centro del gap */
.hero-date .center::before {
  left: calc(-3 * var(--date-gap) / 2);
}

.hero-date .center::after {
  right: calc(-3 * var(--date-gap) / 2);
}

.month {
  font-family: 'Playfair Display', serif;
  letter-spacing: .36em;
  font-size: clamp(35px, 2.6vw, 32px);
  color: #7d6d67;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .month {
    font-family: 'BONA NOVA SC', serif;
    letter-spacing: .36em;
    font-size: clamp(35px, 2.6vw, 32px);
    color: #7d6d67;
    margin-bottom: 6px;
  }

}

.hero-date .center .day {

  font-weight: 600;
  font-size: clamp(72px, 12vw, 126px);
  /* grande */
  color: #2f3b5c;
  margin-bottom: 30px;
}

.hero-date .center .year {
  letter-spacing: .36em;
  font-size: clamp(43px, 2.3vw, 16px);
  color: #7d6d67;
}

/* Limpia cualquier regla previa que dibujaba barras en .side */
.hero-date .side::before,
.hero-date .side::after {
  content: none !important;
}




/* ===== CEREMONIA / RECEPCIÓN SIN RECUADRO Y CENTRADO ===== */

.section-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* centra horizontal */
  text-align: center;
  /* centra el texto */
  padding: 4rem 1.5rem;
}

/* Solo las tarjetas dentro de section-stack (ceremonia y recepción) */
.section-stack .card {
  background: transparent;
  /* sin recuadro */
  border: none;
  box-shadow: none;
  border-radius: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  /* si quieres un poco de aire, pon 1rem */
}

.section-stack .section-title {
  margin-bottom: 0.75rem;
}

.section-stack p {
  margin: 0.25rem 0;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .section-stack {
    padding: 3rem 1.25rem;
  }

  .section-stack .card {
    max-width: 100%;
  }

  .section-stack .watermark img {
    max-width: 100%;
    height: auto;
  }
}

/* ===== QUITAR RECUADROS DE: Código de vestimenta, Mesa de regalos, Confirmación e Itinerario ===== */

/* Quita fondo, borde y sombra de las tarjetas del grid */
#info .card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  text-align: center;
}

/* Itinerario sin recuadro */
#itinerario.card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

/* Ajusta textos para mejor balance */
#info .section-title,
#itinerario .section-title {
  margin-bottom: 10px;
}

#info p,
#itinerario p {
  margin: 6px 0;
}

/* La lista del itinerario centrada y sin sangría */
#itinerario .list {
  padding-left: 0 !important;
  list-style: none;
  margin: 10px 0;
  text-align: center;
}

#itinerario .list li {
  margin: 6px 0;
}

/* ===== ESPACIADO ENTRE BLOQUES SIN RECUADRO ===== */

/* Cada bloque dentro de #info */
#info .card {
  margin: 40px auto !important;
  /* separación vertical elegante */
  padding: 0 !important;
  text-align: center;
}

/* Aviso: en escritorio ocupa todo el ancho del grid y centra su contenido */
.aviso-card {
  display: block;
}

@media (min-width: 760px) {

  /* en pantallas >=760px hacemos que el aviso ocupe las 3 columnas del grid */
  #info.grid .aviso-card {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Títulos con un poco más de aire */
#info .section-title {
  margin-bottom: 14px;
}

/* Espaciado del bloque de itinerario */
#itinerario {
  margin-top: 60px !important;
  /* distancia desde el bloque anterior */
  margin-bottom: 40px !important;
  text-align: center;
}

#itinerario .list li {
  margin: 10px 0;
  /* espacio entre líneas del itinerario */
}

/* Ajuste para móviles (menos espacio pero limpio) */
@media (max-width: 580px) {
  #info .card {
    margin: 25px auto !important;
  }

  #itinerario {
    margin-top: 48px !important;
  }
}

/* ===== ITINERARIO VERTICAL TIPO TARJETA / POSTAL ===== */

.itinerary-section {
  margin-top: 60px;
  padding: 40px 16px 20px;
  text-align: center;
}

.itinerary-section .section-title {
  margin-bottom: 26px;
}

/* Contenedor de filas */
.itinerary-rows {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  row-gap: 50px;
  justify-content: center;
}

/* Cada fila: icono | línea | texto */
.itinerary-row {
  display: grid;
  grid-template-columns: 100px 24px 1fr;
  column-gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.itinerary-icon {
  font-size: 46px;
  display: flex;
  justify-content: center;
  margin-top: -18px;
}

/* Columna central: línea + puntito */
.itinerary-line {
  position: relative;
  display: flex;
  justify-content: center;
}

.itinerary-line::before {
  content: "";
  position: absolute;
  top: -28px;
  bottom: -28px;
  width: 2px;
  background: rgba(0, 0, 0, .15);
}

.itinerary-row.first .itinerary-line::before {
  top: 50%;
}

.itinerary-row.last .itinerary-line::before {
  bottom: 50%;
}

.itinerary-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .35);
  background: #fff;
}

/* Texto de la derecha */
.itinerary-text {
  font-size: 14px;
}

.it-label {
  font-family: 'Sacramento', cursive;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.it-time {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 16px;
}

/* ===== SUGERENCIA DE REGALO ===== */

.itinerary-gift {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
}

.gift-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.gift-text {
  font-size: 13px;
  color: #666;
  margin: 0 0 18px;
}

.gift-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.gift-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.gift-icon {
  font-size: 22px;
}

.gift-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* Responsive */
@media (max-width: 600px) {
  .itinerary-section {
    padding-top: 32px;
  }

  .itinerary-row {
    grid-template-columns: 100px 20px 1fr;
    column-gap: 10px;
  }

  .itinerary-line::before {
    top: -22px;
    bottom: -22px;
  }

  .it-label {
    letter-spacing: .16em;
    font-size: 11px;
  }

  .it-time {
    font-size: 15px;
  }

  .gift-options {
    gap: 24px;
  }
}


/* ===== ALINEAR CORRECTAMENTE LLUVIA DE SOBRES Y LIVERPOOL ===== */

.gift-options {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  /* separación más elegante */
  flex-wrap: wrap;
  margin-top: 30px;
}

.gift-option {
  width: 140px;
  /* MISMO ANCHO PARA AMBAS OPCIONES */
  text-align: center;
}

.gift-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

.gift-label {
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Que el botón Liverpool NO sobresalga de su columna */
.gift-option .btn-liverpool {
  display: block;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.gift-options {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.gift-option {
  width: 150px;
  /* mismo ancho para ambas */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gift-icon {
  font-size: 30px;
  margin-bottom: 6px;
}

.gift-label {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* botón de Liverpool centrado, debajo del texto */
.gift-btn {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

@media (max-width: 600px) {
  .gift-options {
    gap: 32px;
  }
}

/* ===== CENTRAR CÓDIGO DE VESTIMENTA Y CONFIRMACIÓN ===== */

#info.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columnas iguales */
  justify-items: center;
  /* centra contenido */
  column-gap: 60px;
  /* separación uniforme */
  max-width: 700px;
  /* ancho equilibrado */
  margin: 0 auto;
  /* centrar el bloque completo */
}

#info .card {
  text-align: center;
  width: 100%;
  max-width: 280px;
  /* ancho idéntico */
}

/* Indicador "desliza hacia abajo" */
.invite-card {
  position: relative;
  overflow: visible;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: -4.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  animation: hint-bounce 1.3s ease-in-out infinite;
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s ease, transform .4s ease;
  width: 100%;
}

.scroll-hint .hint-arrow {
  font-size: 1.1rem;
}

.scroll-hint.hide {
  opacity: 0;
  transform: translate(-50%, 8px);
}

/* Animación de rebote suave */
@keyframes hint-bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -6px);
  }
}

.gift-options {
  display: flex;
  justify-content: center;
  /* Centra horizontalmente */
  align-items: flex-start;
  /* Alinea arriba */
  gap: 60px;
  /* Espacio entre opciones */
  margin-top: 20px;
}

.gift-option {
  text-align: center;
}

.gift-icon img {
  width: 150px;
  /* Ajusta según tu diseño */
  height: auto;
}

.gift-btn {
  margin-top: 10px;
  display: inline-block;
}

.gift-options {
  display: flex;
  justify-content: center;
  gap: 80px;
  /* separacion horizontal */
}

.gift-option {
  text-align: center;
}

/* MISMA ALTURA PARA TODAS LAS IMÁGENES */
.gift-icon img {
  height: 140px;
  /* ajusta el valor a tu gusto */
  width: auto;
  display: block;
}

/* MODO PASE: solo se ve la tarjeta hasta que el usuario desliza */
body.mode-pass .wrap {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* Cuando el usuario ya deslizó, mostramos todo */
body.mode-pass.show-main .wrap {
  opacity: 1;
  pointer-events: auto;
}

body.mode-pass .topbar {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

body.mode-pass.show-main .topbar {
  opacity: 1;
  pointer-events: auto;
}

/* 1. Nombres de los Novios y Frases "Script" (Romántico) */
.names,
.names-alt,
.hotel-board-script,
.gift-text,
.countdown h3 {
  /* Si tienes texto introductorio */
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Ajuste específico para que los nombres se vean grandes y lujosos */
.names-alt {
  font-size: clamp(50px, 10vw, 90px);
  /* Hacemos la letra más grande */
  line-height: 1.2;
  margin-bottom: 20px;
  color: #4b4b4b;
  /* Color gris oscuro elegante (o usa #d4af37 para dorado) */
}

/* 2. Títulos de Sección y Subtítulos (Editorial / Elegante) */
.section-title,
.hotel-board-title,
.hero-date,
.menu a {
  font-family: 'Bona Nova SC', serif;
  text-transform: uppercase;
  /* Mayúsculas para elegancia */
  letter-spacing: 4px;
  /* Espaciado amplio = Lujo */
  font-weight: 600;
}

/* 3. Fechas y textos de énfasis */


/* 4. Cuerpo de texto (Legibilidad) - Mantenemos Poppins pero más ligero */
body,
p,
.hotel-desc,
.itinerary-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  /* Light se ve más limpio */
}

.dancing-script {
  font-family: "Bona Nova SC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Desktop / tablet: 2 columnas */
@media (min-width: 760px) {
  #info.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    column-gap: 60px;
    max-width: 700px;
    margin: 0 auto;
  }
}

/* Móvil: 1 sola columna, todo apilado */
@media (max-width: 759px) {
  #info.grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 24px;
    max-width: 100%;
  }

  #info .card {
    max-width: 100%;
    text-align: center;
  }
}

.sacramento {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
}

/* Por defecto (móvil): solo se ve el año debajo del día */
.year-desktop {
  display: none;
}

/* Escritorio / tablet: el año pasa a la derecha */
@media (min-width: 768px) {
  .year-mobile {
    display: none;
    /* oculta el año bajo el día */
  }

  .year-desktop {
    display: block;
    /* muestra el año en la tercera columna */
    text-align: center;
  }

  .year-desktop .year {
    letter-spacing: .36em;
    color: #f7f0e9;
    /* mismo estilo que ya usas */
  }
}

/* Desktop / tablet: 2 columnas más anchas */
@media (min-width: 760px) {
  #info.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    column-gap: 80px;
    /* un poco más de espacio entre columnas */
    max-width: 1000px;
    /* o simplemente elimina esta línea */
    margin: 0 auto;
  }

  #info .card {
    text-align: center;
    width: 100%;
    max-width: none;
    /* <-- aquí quitamos el límite de 280px */
  }
}

.itinerary-heart {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-block;
}

.itinerary-heart .heart {
  width: 100%;
  height: 100%;
  display: block;
  fill: #fff;
  stroke: rgba(0, 0, 0, .35);
  stroke-width: 6;
  /* ajustado al viewBox 100x85 */
  stroke-linejoin: round;
  stroke-linecap: round;
}

.stack-section {
  position: relative;
  height: 200vh;
  /* clave: scroll largo */
}

/* FOTO FIJA */
.stack-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.stack-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

/* CONTENIDO QUE SE DESLIZA */
.stack-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TARJETA */
.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 28px 22px;
  border-radius: 18px;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Sección con scroll */
.stack-section {
  position: relative;
  height: 200vh;
  /* para que el texto se desplace */
}

/* Imagen fija */
.stack-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1;
}

.stack-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0-1s linear;
}

/* Contenido encima */
.stack-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXTO SIN FONDO */
.ceremonia-text {
  text-align: center;
  padding: 0 18px;
}

/* CONTORNO DEL TEXTO */
.ceremonia-text h2,
.ceremonia-text p,
.ceremonia-text a {
  color: white;
  border-color: black;
  text-shadow: 2px 2px 6px rgb(0, 0, 0);
}



/* Botón */
.btn a {
  display: inline-block;

  padding: 10px 20px;

  border-radius: 30px;
  text-decoration: none;
}


.section-stack {
  position: relative;
  height: 200vh;
}

.section-stack .watermark {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.section-stack .watermark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.1s linear;
}

.section-stack .card {
  position: relative;
  z-index: 2;
}

/* Estilo general para ambas ramas */
.decoracion-rama {
  position: absolute;
  /* O 'fixed' si quieres que te sigan al bajar la página */
  left: -30px;
  /* Ajusta este número para que se vea más o menos rama */
  width: 180px;
  /* El ancho que desees para la imagen */
  height: auto;
  opacity: 0.7;
  /* Para que sea sutil */
  z-index: 10;
  /* Por debajo de la topbar pero por encima del fondo */
  pointer-events: none;
  /* Evita que la imagen bloquee clics en botones */
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.05));
  /* Opcional: sombra suave */
}

/* Posición de la primera rama */
.rama-superior {
  top: 120px;
  /* Ajusta la distancia desde arriba */
}

/* Posición de la segunda rama */
.rama-inferior {
  top: 450px;
  /* Ajusta la distancia para que quede debajo de la primera */
}

/* Opcional: Si quieres que la topbar siempre esté por encima */
.topbar {
  z-index: 100;
  position: relative;
}

.hotel-carousel {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: 5px;
}

.carousel-btn.next {
  right: 5px;
}

.servicios {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  background: #1c1c1c;
  margin-top: 0px;
}

/* ===== FIX LINK WHATSAPP (NO BOTÓN) ===== */
.service-desc a.whatsapp-link {
  display: inline;
  /* quita estilo de botón */
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;

  color: #2f3b5c;
  font-weight: 500;
  text-decoration: underline;
}

/* Hover sutil */
.service-desc a.whatsapp-link:hover {
  color: #1f2a44;
  background: none;
}


/* ===== DRESS CODE - imagen con badge similar al mockup ===== */
.dress-code {
  position: relative;
  width: 100%;
  display: block;
}

.dress-code img {
  width: 35%;
  max-width: 320px;
  max-height: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .dress-code img {
    width: 60%;
  }
}

.dress-top {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0%;
  /* un poco más arriba para no tapar la imagen */
  background: #ffffff;
  color: #3e3e3e;
  padding: 16px 22px;
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-radius: 40px;
  /* base redondeada */
  z-index: 40;
  text-align: center;
  max-width: min(92%, 480px);
  width: auto;
}

/* Removed decorative cloud circles per user request */
.dress-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #4b4b4b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.dress-badge-wrap {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: 320px;
  /* aumentado para mayor visibilidad */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 6;
}

.dress-badge-svg {
  width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.32));
}

.dress-badge-svg path {
  stroke: rgba(0, 0, 0, 0.18);
  stroke-width: 1.6;
}

.dress-badge-svg text {
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.55);
  stroke-width: 0.9;
}

.dt-title {
  font-weight: 700;
  font-size: 18px;
}

.dt-sub {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .dress-badge {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 10px;
  }

  .dress-top {
    left: 50%;
    transform: translateX(-50%);
    bottom: -14%;
    font-size: 14px;
    padding: 10px 14px;
    max-width: 86%;
    border-radius: 36px;
  }

  /* Mantener la altura y el espacio similar en móvil */
  #info .card {
    max-width: 100%;
    padding: 6px 8px;
  }

  .dress-badge-wrap {
    width: 200px;
    top: 68%;
  }

  .dress-badge-svg {
    width: 200px;
  }

  /* hide any leftover badge elements on small screens */
  .dress-badge-wrap,
  .dress-badge,
  .dress-badge-svg {
    display: none !important;
  }
}

/* ===== BADGE CSS (reemplaza SVG) ===== */
.dress-badge-wrap,
.dress-badge,
.dress-badge-svg {
  display: none !important;
}

/* badge removed */
.dress-badge {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(180deg, #525252 0%, #3f3f3f 100%);
  color: #fff;
  padding: 28px 22px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  z-index: 6;
}



.badge-text {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 34px;
  line-height: 0.95;
  text-align: center;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .dress-badge {
    max-width: 220px;
    padding: 18px 12px;
    border-radius: 18px;
  }

  .badge-text {
    font-size: 20px;
  }

  .dress-badge::before,
  .dress-badge::after {
    width: 32px;
    height: 14px;
    left: -12px;
    right: -12px;
  }
}

/* Ajustes para pantallas anchas: bajar la tarjeta para que no tape la ilustración */
@media (min-width: 1100px) {
  .dress-top {
    bottom: -25%;
    /* coloca la tarjeta ligeramente por debajo de la imagen */
    max-width: 420px;
    padding: 18px 26px;
  }
}
