:root {
  --ink: #111;
  --muted: #6a6a6a;
  --paper: #ffffff;
  --soft: #f6f4ef;
  --line: rgba(255, 255, 255, 0.45);
  --shadow: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Montserrat,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

[hidden] {
  display: none !important;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  text-decoration: none;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.nav a:hover {
  opacity: 1;
}

/* BURGER */
.burger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}
.burger span {
  width: 22px;
  height: 2px;
  background: #111;
  display: block;
  border-radius: 99px;
}

/* BACKDROP + DRAWER (móvil) */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* pon 0.2 si quieres oscurecer */
  z-index: 90;
}

.mobile {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(78vw, 420px);
  background: var(--paper);
  z-index: 100;

  transform: translateX(100%);
  transition: transform 0.35s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 24px 24px;
  box-shadow: -16px 0 40px var(--shadow);
}
.mobile.is-open {
  transform: translateX(0);
}

.mobile__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #6a7a63;
}

.mobile__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.mobile__nav a {
  text-decoration: none;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.04em;
  font-size: 16px;
}

/* bloquear scroll cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100dvh - 60px);
  display: grid;
  place-items: stretch;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;

  /* NUEVO */
  width: 100%;
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;

  /* padding pro (respeta safe areas) */
  padding: max(26px, env(safe-area-inset-top)) 16px
           max(110px, env(safe-area-inset-bottom));
}
.hero__names {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  margin: 0 0 18px;
}
.amp {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  opacity: 0.95;
}

.hero__dateWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  /* NUEVO: manda este bloque hacia abajo */
  margin-top: auto;

  /* ajusta espaciado */
  margin-bottom: 18px;
}
.hero__line {
  width: 72px;
  height: 1px;
  background: var(--line);
}
.hero__date {
  margin: 0;
  font-size: 19px;
  letter-spacing: 0.22em;
  opacity: 0.95;
}

.countdown {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
}
/* DESKTOP (base) */
.cd b{
  display:block;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: 69px;
  font-weight: 300; 
  letter-spacing:.02em;
  font-variant-numeric: tabular-nums;
}
.cd span{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  display:block;
  font-size: 17px;
  letter-spacing:.22em;
  opacity:.9;
}

/* MÓVIL */
@media (max-width: 900px){
  .cd b{ font-size: 40px; }
  .cd span{ font-size: 9px; }
}

/* SECCIONES */
.section {
  padding: 70px 0;
}
.section--soft {
  background: var(--soft);
}

.title {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: 0.16em;
  font-size: 31px;
  text-align: center;
  margin: 0 0 22px;
}
.lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== ITINERARIO: móvil vertical (base) + desktop horizontal ===== */

/* BASE (MÓVIL) — NO CAMBIA TU LOOK: icono izq, línea, texto der */
#itinerary.itTimeline {
  --icon-col: 52px;
  --rail-col: 18px;
  --gap: 14px;

  position: relative;
  display: grid;
  grid-template-columns: var(--icon-col) var(--rail-col) 1fr;
  column-gap: var(--gap);
  row-gap: 22px;
  align-items: center;

  max-width: 560px;
  margin: 0 auto;
  padding: 10px 0;
}

/* línea vertical en móvil */
#itinerary.itTimeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.18);
  left: calc(var(--icon-col) + var(--gap) + (var(--rail-col) / 2));
}

/* columnas móvil */
#itinerary .itIcon {
  grid-column: 1;
  justify-self: center;
}
#itinerary .itDot {
  display: none;
} /* en móvil oculto */
#itinerary .itText {
  grid-column: 3;
  text-align: left;
}

/* tipografía */
#itinerary .itLine {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
#itinerary .itTitle {
  font-weight: 400;
}
#itinerary .itSep {
  opacity: 0.55;
  padding: 0 10px;
}
#itinerary .itHour {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.95;
}
#itinerary .itPlace {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.06em;
}
#itinerary .itMap {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#itinerary .itMap::after {
  content: " ↗";
  font-size: 12px;
}

/* iconos */
#itinerary .itIcon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
#itinerary .itIcon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

/* ===== DESKTOP: HORIZONTAL (como tu imagen) ===== */
@media (min-width: 901px) {
  #itinerary.itTimeline {
    /* 3 filas: texto arriba, línea+dot en medio, icono abajo */
    --top-row: 78px;
    --mid-row: 34px;

    max-width: 1100px;
    padding: 10px 0 0;

    /* grid horizontal por columnas automáticas */
    grid-template-columns: none;
    grid-template-rows: var(--top-row) var(--mid-row) auto;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;

    column-gap: 26px;
    row-gap: 0;
    align-items: start;
  }

  /* línea ahora horizontal */
  #itinerary.itTimeline::before {
    top: calc(var(--top-row) + (var(--mid-row) / 2));
    left: 0;
    right: 0;
    bottom: auto;
    height: 1px;
    width: auto;
  }

  /* colocar cada pieza en su fila */
  #itinerary .itText {
    grid-column: auto;
    grid-row: 1;
    text-align: center;
    align-self: end;
  }

  #itinerary .itDot {
    display: block;
    grid-column: auto;
    grid-row: 2;
    justify-self: center;
    align-self: center;

    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f6f4ef;
    border: 2px solid rgba(106, 122, 99, 0.95);
    box-shadow: 0 0 0 6px rgba(106, 122, 99, 0.12);
  }

  #itinerary .itIcon {
    grid-column: auto;
    grid-row: 3;
    justify-self: center;
    align-self: start;
    margin-top: 8px;
  }

  /* tipografía un poco más editorial en desktop */
  #itinerary .itLine {
    font-size: 17px;
    letter-spacing: 0.06em;
  }
  #itinerary .itPlace {
    font-size: 12px;
  }
  #itinerary .itMap {
    font-size: 11px;
  }

}

@media (max-width: 900px) {
  /* para que icono y texto arranquen a la misma altura */
  #itinerary.itTimeline {
    align-items: start;
  }

  #itinerary.itTimeline .itIcon,
  #itinerary.itTimeline .itText {
    align-self: start;
  }

  /* ajuste fino opcional (si todavía lo ves 1-2px desfasado) */
  #itinerary.itTimeline .itIcon {
    margin-top: -80px;
  }
}

/* FORM */
.form {
  max-width: 820px;
  margin: 0 auto;
}
.formGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
label span {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 12px 12px;
  font: inherit;
  background: #fff;
}
textarea {
  min-height: 110px;
  resize: vertical;
}

.btn {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: #6a7a63;
  color: #fff;
  cursor: pointer;
}
.formMsg {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
/* ===== REGALOS (estilo alto como plantilla) ===== */
.giftGrid--tall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.giftCard--tall {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0px; /* si quieres más “plantilla” (recto) */
  /* pon 18px si prefieres redondeado */
  padding: 34px 26px;
  text-decoration: none;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  min-height: 420px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

@media (hover: hover) {
  .giftCard--tall:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  }
}

.giftTop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.giftLogo {
  width: 170px; /* aquí se ve “logo grande” */
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Botón */
.giftBtn {
  display: inline-block;
  padding: 14px 26px;
  background: #8a98a5; /* gris-azul elegante */
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0px;
  margin-bottom: 26px;

  /* importante: que el anchor sea clickeable aunque des click en el botón */
  pointer-events: none;
}

/* divisor */
.giftDivider {
  width: 70px;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}

/* Banco */
.giftCard--bank {
  cursor: default;
}

.giftBankIcon {
  font-size: 34px;
  line-height: 1;
}

.giftBankTitle {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 18px;
}

.giftBankInfo {
  margin-top: 24px;
}

.giftBankLine {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.75);
}

.giftThanks {
  margin: 18px 0 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: rgba(0, 0, 0, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .giftGrid--tall {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .giftCard--tall {
    min-height: auto;
    padding: 28px 20px;
  }
  .giftLogo {
    width: 150px;
  }
}

/* GALERÍA */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}
.photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* HOSPEDAJE */
/* =========================
   HOSPEDAJE PRO (cards con foto)
========================= */
.lodging{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 900px){
  .lodging{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Card */
.lodge{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

@media (hover:hover){
  .lodge:hover{
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(0,0,0,.12);
  }
}

/* Imagen */
.lodge__media{
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f2f2f2;
}

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

.lodge__tag{
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
}

/* Contenido */
.lodge__body{
  padding: 16px 16px 18px;
}

.lodge__name{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
}

.lodge__text{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Botones */
.lodge__actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lodge__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 42px;
  border-radius: 14px;
  text-decoration: none;

  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;

  background: #6a7a63;
  color: #fff;
}

.lodge__btn--ghost{
  background: transparent;
  color: rgba(17,17,17,.75);
  border: 1px solid rgba(0,0,0,.12);
}

.lodge__btn--ghost:hover{
  border-color: rgba(0,0,0,.22);
}

/* ===== FOOTER firma (como imagen) ===== */
.footerSig {
  background: #f6f4ef;
  padding: 35px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footerSig__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footerSig__names {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 34px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111;
}

.footerSig__brand {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  opacity: 0.95;
}

.footerSig__brand:hover {
  opacity: 0.7;
}

.footerSig__contact {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: rgba(0, 0, 0, 0.65);
}

.footerSig__copy {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .footerSig {
    padding: 70px 0;
  }
  .footerSig__inner {
    gap: 12px;
  }
  .footerSig {
    padding: 11px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
}

/* =========================
   HOSPEDAJE: carrusel en móvil (sin librerías)
========================= */
@media (max-width: 900px){
  .lodging{
    display: flex;
    gap: 14px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 6px 10px 14px;
    margin: 0 -10px;            /* para que “respire” y se vea pro */
    scroll-padding: 10px;
  }

  .lodging::-webkit-scrollbar{ display: none; }
  .lodging{ scrollbar-width: none; }

  .lodging .lodge{
    flex: 0 0 min(86%, 420px);  /* ancho de cada card (se ve el siguiente poquito) */
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* opcional: botones en columna para mejor tap */
  .lodge__actions{
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }
  .formGrid {
    grid-template-columns: 1fr;
  }
  .giftGrid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .photo img {
    height: 320px;
  }
  .lodging {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mobile {
    transition: none;
  }
}

/*padres */
/* ===== Padres ===== */
.parents {
  background: #fff;
  padding: 110px 0;
}

.parents__title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(18px, 2.4vw, 36px);
  margin: 0 0 80px;
}

.parents__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: min(140px, 10vw);
  justify-content: center;
  align-items: start;
  text-align: center;
}

.parents__colTitle {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(22px, 1.3vw, 20px);
  margin: 0 0 26px;
}

.parents__name {
  font-family: "Playfair Display", serif;
  font-weight: 300;
  font-size: clamp(20px, 10.2vw, 21px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #111111b8;
  margin: 0 0 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 900px) {
  .parents {
    padding: 80px 0;
  }
  .parents__title {
    margin-bottom: 50px;
    letter-spacing: 0.18em;
  }
  .parents__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.itIcon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

/* ===== LIGHTBOX ===== */
.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  padding: 18px;
}

.lb__figure {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 10px;
}

#lbImg {
  max-width: min(980px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: #111;
}

.lb__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lb__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lb__nav {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 0;
  cursor: pointer;
  justify-self: center;
  backdrop-filter: blur(6px);
}

.lb__nav:hover,
.lb__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* bloquear scroll solo para lightbox */
body.lb-open {
  overflow: hidden;
}

/* móvil */
@media (max-width: 900px) {
  .lightbox {
    grid-template-columns: 0px 1fr 0px;
    padding: 14px;
  }
  #lbImg {
    max-width: 92vw;
    max-height: 72vh;
    border-radius: 14px;
  }

  .lb__nav {
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    line-height: 0;
    cursor: pointer;
    justify-self: center;
    backdrop-filter: blur(6px);
  }
}

/* ===== GALERÍA: efecto hover / seleccionable ===== */
#gallery .photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px; /* ajusta si usas otro */
  cursor: zoom-in;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

#gallery .photo img {
  width: 100%;
  height: 260px; /* usa el que ya tengas */
  object-fit: cover;
  display: block;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

/* overlay sutil */
#gallery .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* hover (desktop) */
@media (hover: hover) {
  #gallery .photo:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  }
  #gallery .photo:hover img {
    transform: scale(1.04);
  }
  #gallery .photo:hover::after {
    opacity: 1;
  }
}

/* opcional: al tocar (móvil) feedback */
#gallery .photo:active {
  transform: scale(0.99);
}

#gallery .photo::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

@media (hover: hover) {
  #gallery .photo:hover::before {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DRESS CODE: layout con vestido/traje ===== */
.attireCard--sides {
  background: #dfe3ea;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 680px) 1fr;
  gap: clamp(12px, 3vw, 28px);
  align-items: center;
}

/* Lados (vestido / traje) */
.attireSide {
  display: grid;
  place-items: center;
}

.attireSide__img {
  width: min(220px, 100%);
  max-height: 280px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.12));
}

.attireSide__thanks {
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(17, 17, 17, 0.55);
}

.attireSide__thanks {
  display: grid;
  grid-template-columns: 0fr auto;
  align-items: end;
  gap: 16px;
  margin-top: 8px;
  justify-content: end;
}

/* Centro */
.attireCenter {
  text-align: center;
  padding: 10px 0;
}

.attireCenter__title {
  line-height: 1;
  margin-bottom: 10px;
}

.attireCenter__titleA {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(26px, 4vw, 48px);
}

.attireCenter__titleB {
  font-family: "Playfair Display", serif;
  font-style: italic; /* sin fuente extra */
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(28px, 4.4vw, 26px);
  margin-left: 0.2em;
  display: inline-block;
  transform: translateY(10%);
  opacity: 0.95;
}

.attireCenter__sub {
  font-family:
    Montserrat,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.6);
}

.attireCenter__rule {
  width: min(560px, 82%);
  height: 1px;
  margin: 16px auto;
  background: rgba(0, 0, 0, 0.18);
}

.attireCenter__text {
  max-width: 720px;
  margin: 0 auto 14px;
  font-family:
    Montserrat,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.6);
}

/* Paleta tipo “píldora” vertical */
.attireCenter__swatches {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 22px);
  flex-wrap: wrap;
  padding: 8px 0 0;
}

.attireSwatch {
  width: clamp(34px, 4.5vw, 54px);
  height: clamp(56px, 6.8vw, 92px);
  border-radius: 999px;
  background: var(--c, #999);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Responsive: en móvil apila */
@media (max-width: 900px) {
  .attireCard--sides {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .attireSide__img {
    max-height: 220px;
  }
  .attireSide--right {
    gap: 6px;
  }
}

@media (max-width: 900px) {
  /* El CARD completo ahora es el cuadro gris */
  .attireCard--sides {
    background: #dfe3ea; /* ← gris */
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 16px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "left right";
    gap: 14px;
    align-items: start;

    overflow: hidden; /* para que todo quede dentro del borde redondeado */
  }

  /* Quitamos el “cuadro gris interno” para que todo sea un solo gris */
  .attireCenter {
    grid-area: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 6px 6px 10px;
  }

  /* Vestido y traje abajo, dentro del gris */
  .attireSide--left {
    grid-area: left;
    place-items: start center;
  }
  .attireSide--right {
    grid-area: right;
    place-items: start center;
    justify-items: end;
    text-align: right;
  }

  .attireSide__img {
    width: min(150px, 100%);
    max-height: 210px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(
      0 12px 22px rgba(0, 0, 0, 0.1)
    ); /* sombra más suave para que no se corte */
  }

  /* “Gracias!” dentro del gris abajo a la derecha */
  .attireSide__thanks {
    margin-top: 6px;
    justify-self: end;
  }
}

/* =========================
   GALERÍA PRO: Swiper Coverflow
   (pegar al FINAL)
========================= */
.gallery.gallery--swiper {
  display: block; /* anula grid */
}

.gallery--swiper .gallerySwiper {
  width: 100%;
  padding: 18px 6px 48px;
  perspective: 1200px;
}

.gallery--swiper .gallerySwiper .swiper {
  overflow: visible; /* que se vean los lados del coverflow */
}

.gallery--swiper .swiper-wrapper {
  align-items: center;
}

.gallery--swiper .swiper-slide {
  width: min(520px, 78vw); /* tamaño tarjeta */
}

@media (max-width: 900px) {
  .gallery--swiper .swiper-slide {
    width: min(86vw, 380px);
  }
}

/* Card + foto: uniforme aunque tengas vertical/horizontal */
.gallery--swiper .photo {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);

  aspect-ratio: 4 / 3; /* desktop */
}

@media (max-width: 900px) {
  .gallery--swiper .photo {
    aspect-ratio: 3 / 4; /* móvil favorece retratos */
  }
}

.gallery--swiper .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* look editorial/pro */
  display: block;
}

/* Flechas */
.gallery--swiper .swiper-button-prev,
.gallery--swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
  color: #111;
}

.gallery--swiper .swiper-button-prev::after,
.gallery--swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

/* Bullets */
.gallery--swiper .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  opacity: 0.35;
}
.gallery--swiper .swiper-pagination-bullet-active {
  opacity: 0.85;
}

/* FIX: en Swiper, la imagen debe llenar el card completo */
#gallery.gallery--swiper .photo img {
  height: 100% !important; /* pisa el height:260px viejo */
  width: 100%;
  object-fit: cover;
  display: block;
}

/* opcional: si aún ves tono debajo, quita el fondo del card */
#gallery.gallery--swiper .photo {
  background: transparent;
}


/* =========================
   AGENDAR EVENTO (PRO)
========================= */
.calCard{
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.calCard__meta{
  min-width: 0;
}

.calCard__title{
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: .08em;
  font-size: 18px;
}

.calCard__sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Botón + menú (details/summary) */
.calMenu{
  position: relative;
}

.calBtn{
  list-style: none;
  cursor: pointer;

  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;

  background: #6a7a63;
  color: #fff;

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

  font: inherit;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  user-select: none;
}

.calBtn::-webkit-details-marker{ display:none; }
.calBtn::after{
  content: " ▾";
  opacity: .9;
}

.calMenu[open] .calBtn::after{
  content: " ▴";
}

.calMenu__panel{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 240px;

  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
  padding: 8px;

  display: grid;
  gap: 6px;
  z-index: 20;
}

.calOption{
  text-decoration: none;
  height: 42px;
  border-radius: 12px;
  padding: 0 12px;

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

  font-size: 12px;
  letter-spacing: .08em;

  color: rgba(17,17,17,.85);
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.calOption:hover{
  border-color: rgba(0,0,0,.18);
}

@media (max-width: 900px){
  .calCard{
    flex-direction: column;
    align-items: stretch;
  }
  .calMenu{ width: 100%; }
  .calBtn{ width: 100%; }
  .calMenu__panel{
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 14px;
    margin-top: 10px;
  }
}






/* =========================
   ITINERARIO PRO (override)
   Pegar AL FINAL
========================= */
/* =========================
   ITINERARIO — VERTICAL PRO (alternado)
========================= */

#itinerary.itTimelineAlt{
  --accent: #6a7a63;
  --rail: rgba(0,0,0,.18);
  --card-b: rgba(0,0,0,.06);
  --shadow-soft: 0 18px 45px rgba(0,0,0,.08);

  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0;

  display: flex;
  flex-direction: column;
  gap: 18px;

  overflow: visible;
}

/* línea central */
#itinerary.itTimelineAlt::before{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--rail);
  transform: translateX(-0.5px);
}

#itinerary.itTimelineAlt .itItem{
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  min-height: 120px;
}

/* CARD (aire + borde + sombra suave) */
#itinerary.itTimelineAlt .itCard{
  max-width: 420px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--card-b);
  border-radius: 18px;
  padding: 14px 16px 14px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}

/* alterna lados */
#itinerary.itTimelineAlt .itItem:nth-child(odd) .itCard{
  grid-column: 1;
  justify-self: end;
  text-align: right;
  margin-right: 18px;
}

#itinerary.itTimelineAlt .itItem:nth-child(even) .itCard{
  grid-column: 3;
  justify-self: start;
  text-align: left;
  margin-left: 18px;
}

/* tipografía */
#itinerary.itTimelineAlt .itCard__title{
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: .08em;
  font-size: 18px;
}

#itinerary.itTimelineAlt .itCard__place{
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

/* VER MAPA premium */
#itinerary.itTimelineAlt .itMap{
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  text-decoration: none;
  background: rgba(255,255,255,.72);

  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
#itinerary.itTimelineAlt .itMap::after{
  content:" ↗";
  font-size: 11px;
}

/* NODO (tiempo + punto + medallón) */
#itinerary.itTimelineAlt .itNode{
  grid-column: 2;
  position: relative;
  height: 96px;
}

/* tiempo: a lado del centro según el lado */
#itinerary.itTimelineAlt .itTime{
  position: absolute;
  top: 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  white-space: nowrap;
}

#itinerary.itTimelineAlt .itItem:nth-child(odd) .itTime{
  right: calc(50% + 14px);
  text-align: right;
}

#itinerary.itTimelineAlt .itItem:nth-child(even) .itTime{
  left: calc(50% + 14px);
  text-align: left;
}

/* punto en la línea */
#itinerary.itTimelineAlt .itDot{
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;

  background: #f6f4ef;
  border: 2px solid rgba(106,122,99,.95);
  box-shadow: 0 0 0 7px rgba(106,122,99,.12);
  z-index: 2;
}

/* línea horizontal hacia el medallón */
#itinerary.itTimelineAlt .itStem{
  position: absolute;
  top: 28px;
  transform: translateY(-50%);
  width: 64px;
  height: 1px;
  background: var(--rail);
}

#itinerary.itTimelineAlt .itItem:nth-child(odd) .itStem{ right: 50%; }
#itinerary.itTimelineAlt .itItem:nth-child(even) .itStem{ left: 50%; }

/* medallón */
#itinerary.itTimelineAlt .itMedal{
  position: absolute;
  top: 28px;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--card-b);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  display: grid;
  place-items: center;
  z-index: 3;
}

#itinerary.itTimelineAlt .itItem:nth-child(odd) .itMedal{ right: calc(50% + 64px); }
#itinerary.itTimelineAlt .itItem:nth-child(even) .itMedal{ left: calc(50% + 64px); }

#itinerary.itTimelineAlt .itMedal img{
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

/* si usas emoji como icono */
#itinerary.itTimelineAlt .itEmoji{
  font-size: 20px;
  line-height: 1;
}

/* =========================
   MÓVIL: se vuelve una columna limpia
========================= */
@media (max-width: 900px){
  #itinerary.itTimelineAlt{
    max-width: 560px;
    padding: 10px 0;
  }

  /* línea a la izquierda (tipo timeline) */
  #itinerary.itTimelineAlt::before{
    left: 34px;
    transform: none;
  }

  #itinerary.itTimelineAlt .itItem{
    grid-template-columns: 90px 1fr;
    min-height: 112px;
  }

  /* card siempre a la derecha */
  #itinerary.itTimelineAlt .itCard{
    grid-column: 2 !important;
    justify-self: start !important;
    text-align: left !important;
    margin: 0 !important;
  }

  /* node en columna izquierda */
  #itinerary.itTimelineAlt .itNode{
    grid-column: 1;
  }

  /* tiempo centrado arriba del nodo */
  #itinerary.itTimelineAlt .itTime{
    left: 0 !important;
    right: auto !important;
    width: 90px;
    text-align: center !important;
  }

  /* dot alinea con línea izquierda */
  #itinerary.itTimelineAlt .itDot{
    left: 34px;
    transform: translate(-50%, -50%);
  }

  /* stem siempre hacia la derecha */
  #itinerary.itTimelineAlt .itStem{
    left: 34px;
    right: auto;
    width: 52px;
  }

  /* medallón a la derecha del dot */
  #itinerary.itTimelineAlt .itMedal{
    left: calc(34px + 52px);
    right: auto;
    width: 50px;
    height: 50px;
  }
  #itinerary.itTimelineAlt .itMedal img{
    width: 24px;
    height: 24px;
  }
}
/* fin de itinerario*/






/* ===== Fade-in pro para imágenes ===== */
.imgFade{
  opacity: 0;
  transition: opacity .28s ease;
}
.imgFade.is-loaded{ opacity: 1; }

/* ===== Hero: evitar flash gris mientras carga ===== */
.hero{
  background: #F6F4EF; /* evita el “gris feo” mientras carga */
}
.hero__bg{
  opacity: 0;
  transition: opacity .35s ease;
}
.hero__bg.is-loaded{
  opacity: 1;
}

/* ===== Lodging: blur placeholder (se ve premium) ===== */
.lodge__media{
  position: relative;
  overflow: hidden;
}

.lodge__media::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.15);
  opacity: .28;
}

.lodge__media img{
  position: relative;
  z-index: 1;
}




/*fin*/

/* =========================
   Scroll reveal (blur -> clear) PRO
========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(12px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

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

/* Variantes opcionales */
.reveal--fast {
  transition-duration: 520ms;
}

.reveal--soft {
  filter: blur(8px);
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}