: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;
  }
}



/* ===== Splash ===== */


.splash{
  position: fixed;
  inset: 0;
  z-index: 20000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  background: radial-gradient(1200px 600px at 50% 30%, rgba(255,255,255,.16), rgba(0,0,0,.55));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* ✅ Fade pro */
  opacity: 1;
    transition: opacity 700ms cubic-bezier(.22,1,.36,1); /* ✅ más suave */

}

.splash.is-leaving{
  opacity: 0;
  pointer-events: none;
}

.splash__card{
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 22px;
  background: rgba(20,20,25,.65);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  text-align:center;
  color: rgba(255,255,255,.92);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.splash__sealWrap{ display:flex; justify-content:center; }

/* ✅ Ahora es BUTTON clickeable con imagen dentro */
.splash__seal{
  width: 170px; height: 170px;
  border-radius: 999px;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;

  /* antes tenías gradient de fondo; ahora la imagen manda */
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;

  box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.10);
}

/* Imagen sello */
.splash__sealImg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* ✅ velo para que el texto siempre se lea */
.splash__seal::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 120px at 50% 38%, rgba(0,0,0,.10), rgba(0,0,0,.55));
  z-index: 1;
  pointer-events: none;
}

.splash__ring{
  position:absolute; inset: 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,.30);
  z-index: 2;
  pointer-events: none;
}

.splash__monogram{
  font-weight: 800;
  font-size: 42px;
  letter-spacing: 2px;
  font-family: "Playfair Display", serif;

  z-index: 3;
  pointer-events: none;
  text-shadow: 0 10px 26px rgba(255, 255, 255, 0.55);
}

.splash__monogram span{
  font-size: 26px;
  display:inline-block;
  margin: 0 6px;
  opacity:.85;
}
/* Iniciales en blanco */
.splash__monogram{
  color: rgba(255,255,255,.95);
}
.splash__monogram span{
  color: rgba(255,255,255,.90);
}
.splash__sub{
  position:absolute;
  bottom: 22px;
  font-size: 12px;
  opacity:.8;
  letter-spacing: .14em;
  text-transform: uppercase;

  z-index: 3;
  pointer-events: none;
  text-shadow: 0 10px 26px rgba(0,0,0,.55);
}

.splash__text{
  margin: 16px 0 10px;
  font-size: 14px;
  opacity: .9;
}

.splash__btn{
  width: 100%;
  height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  cursor: pointer;
}

.splash__hint{
  display:block;
  margin-top: 10px;
  font-size: 12px;
  opacity: .75;
}

/* ✅ foco bonito (accesibilidad) */
.splash__seal:focus-visible,
.splash__btn:focus-visible{
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 4px;
}
/* iOS: evita el azul por defecto en textos clickeables */
#musicBar, #musicBar *{
  -webkit-text-fill-color: currentColor; /* Safari iOS */
}

/* Si el título es <a> o se comporta como link */
#musicBar a,
#musicBar a:visited,
#musicBar a:hover,
#musicBar a:active{
  color: inherit !important;
  -webkit-text-fill-color: inherit;
  text-decoration: none !important;
}

/* Fuerza color del texto del track (ajusta a tu gusto) */
#trackTitle{
  color: rgba(255,255,255,.92) !important;
  -webkit-text-fill-color: rgba(255,255,255,.92);
}
#trackSub{
  color: rgba(255,255,255,.70) !important;
  -webkit-text-fill-color: rgba(255,255,255,.70);
}
/* =========================
   MUSIC BAR — Ultra Premium Editorial (Collapse)
========================= */

:root{
  --mb-bg: rgba(255,255,255,.10);
  --mb-bd: rgba(255,255,255,.18);
  --mb-tx: rgba(255,255,255,.92);
  --mb-mu: rgba(0, 0, 0, 0.68);
  --mb-sh: 0 18px 60px rgba(0,0,0,.45);
  --mb-r: 22px;
}

body.has-musicbar { padding-bottom: 110px; }

/* evita overlays tapando */
.hero__overlay,
.hero__bg { pointer-events:none; }

.musicBar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  color: var(--mb-tx);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  pointer-events: auto;
}

.musicBar__head{
  width: 100%;
  border: 1px solid var(--mb-bd);
  background: var(--mb-bg);
  box-shadow: var(--mb-sh);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--mb-r);
  padding: 8px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.musicBar__chip{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

.musicBar__meta{ min-width:0; display:flex; flex-direction:column; gap:2px; }
.musicBar__title{
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.musicBar__sub{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mb-mu);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.musicBar__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.musicBar__time{
  font-size: 12px;
  color: var(--mb-mu);
  width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.musicBar__play{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Panel colapsable */
.musicBar__panel{
  margin-top: 10px;
  border-radius: var(--mb-r);
  border: 0.5px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
   transition:
    max-height .65s cubic-bezier(.2,.8,.2,1),
    opacity    .45s cubic-bezier(.2,.8,.2,1),
    transform  .65s cubic-bezier(.2,.8,.2,1);
}

.musicBar.is-open .musicBar__panel{
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.musicBar.is-softclosing .musicBar__panel{
  opacity: .0;
  transform: translateY(-14px);
}

.musicBar__row{
  padding: 12px 14px;
  display:flex;
  align-items:center;
  gap: 12px;
}

.musicBar__row--bottom{
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.musicBar__btn{
  width: 42px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: var(--mb-tx);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
}

.musicBar__btn--close{ width: 44px; }

.musicBar__seek{
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
  accent-color: #fff;
}

/* Range premium (Safari/iOS/Android) */
.musicBar__seek{
  -webkit-appearance:none;
  appearance:none;
}
.musicBar__seek::-webkit-slider-runnable-track{
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}
.musicBar__seek::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  margin-top: -4px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}
.musicBar__seek::-moz-range-track{
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}
.musicBar__seek::-moz-range-thumb{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  border: none;
  box-shadow: 0 0 0 6px rgba(255,255,255,.08);
}

/* Vol */
.musicBar__vol{
  flex: 1;
  height: 4px;
  accent-color: #fff;
}

/* Desktop: más estrecho y centrado */
@media (min-width: 980px){
  .musicBar{
    left: 50%;
    right: auto;
    width: 720px;
    transform: translateX(-50%);
  }
}


/* ✅ Sombra SOLO en las letras del music bar */
#trackTitle,
#trackSub,
#curTime,
#durTime{
  text-shadow: 0 1px 7px rgb(255 255 255);
}

/* opcional: si el título se ve azul en iOS, lo fuerzas a blanco */
#trackTitle{
  color: rgba(255,255,255,.92) !important;
  -webkit-text-fill-color: rgba(0, 0, 0, 0.92) !important;
}

/* sub más suave */
#trackSub{
  color: rgba(255,255,255,.70) !important;
  -webkit-text-fill-color: rgba(255,255,255,.70) !important;
}


#musicBar{
  color: #0b0b0c !important;                 /* negro */
  -webkit-text-fill-color: #0b0b0c !important;
}




/*clima*/



/* public/weather-pro.css */
.wpro{ margin: 28px auto; max-width: 1100px; padding: 0 16px; }
.wpro *{ box-sizing:border-box; }
.wpro__sprite{ position:absolute; width:0; height:0; overflow:hidden; }

:root{
  --wbg:#0b0b0b;
  --wcard:#141414;
  --wtext:#ffffff;
  --wmuted:#bdbdbd;
  --wline:rgba(255,255,255,.10);
  --wchip:rgba(255,255,255,.08);
  --wshadow:0 14px 36px rgba(0,0,0,.22);
  --waccent:#ffffff;
}
.wpro.is-light{
  --wbg:#f6f6f6;
  --wcard:#ffffff;
  --wtext:#111111;
  --wmuted:#666666;
  --wline:#dddddd;
  --wchip:#f0f0f0;
  --wshadow:0 14px 36px rgba(0,0,0,.08);
  --waccent:#111111;
}

.wpro{ color:var(--wtext); }
.wpro__head{
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  padding: 14px; border:1px solid var(--wline); border-radius:18px;
  background: color-mix(in srgb, var(--wbg) 80%, transparent);
  backdrop-filter: blur(10px);
}
.wpro__title{ margin:0; font-size:22px; letter-spacing:.2px; }
.wpro__meta{ margin-top:6px; color:var(--wmuted); font-size:13px; display:flex; align-items:center; gap:8px; }
.wpro__dot{ opacity:.6; }

.wpro__actions{ display:flex; align-items:center; gap:10px; }
.wpro__btn{
  border:1px solid var(--wline);
  background:transparent;
  color:var(--wtext);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  display:flex; align-items:center; gap:8px;
}
.wpro__btn:hover{ background: var(--wchip); }
.wpro__btnIc{ width:18px; height:18px; opacity:.95; }

.wpro__switch{ width:52px; height:30px; position:relative; display:inline-block; }
.wpro__switch input{ opacity:0; width:0; height:0; }
.wpro__track{
  position:absolute; inset:0; border-radius:999px;
  border:1px solid var(--wline);
  background: var(--wchip);
}
.wpro__thumb{
  position:absolute; top:50%; left:3px; width:24px; height:24px;
  transform:translateY(-50%);
  border-radius:999px; background: var(--waccent);
  transition: transform .18s ease;
}
.wpro__switch input:checked + .wpro__track .wpro__thumb{ transform: translate(22px, -50%); }

.wpro__grid{ margin-top:14px; display:grid; grid-template-columns: 1.6fr 1fr; gap:14px; }
@media (max-width: 900px){ .wpro__grid{ grid-template-columns:1fr; } }

.wproCard{
  background: var(--wcard);
  border:1px solid var(--wline);
  border-radius:18px;
  box-shadow: var(--wshadow);
  padding:14px;
}
.wproCard__title{ font-weight:800; margin-bottom:12px; }

.wproCard--main{ padding:16px; }
.wproMain{ display:grid; grid-template-columns: 1.2fr .8fr; gap:14px; align-items:stretch; }
@media (max-width: 700px){ .wproMain{ grid-template-columns:1fr; } }

.wproBadge{
  display:inline-flex; align-items:center;
  border:1px solid var(--wline);
  background: var(--wchip);
  color: var(--wmuted);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  width:fit-content;
}
.wproTemp{ margin-top:10px; font-size:56px; font-weight:900; line-height:1; }
.wproTemp__deg{ font-size:28px; opacity:.9; margin-left:2px; }
.wproDesc{ margin-top:10px; font-size:16px; font-weight:700; }
.wproHint{ margin-top:8px; color:var(--wmuted); font-size:13px; max-width:52ch; }

.wproMain__right{ display:flex; flex-direction:column; gap:12px; }
.wproIcon{
  width:74px; height:74px;
  display:flex; align-items:center; justify-content:center;
  border-radius:18px;
  border:1px solid var(--wline);
  background: var(--wchip);
}
.wproIcon svg{ width:40px; height:40px; opacity:.95; }

.wproPills{ display:grid; grid-template-columns:1fr; gap:10px; }
.wproPill{
  display:flex; gap:10px; align-items:center;
  border:1px solid var(--wline);
  background: var(--wchip);
  border-radius:16px;
  padding:10px 12px;
}
.wproPill__ic{ width:20px; height:20px; opacity:.9; }
.wproPill__k{ color:var(--wmuted); font-size:12px; }
.wproPill__v{ font-weight:900; font-size:14px; margin-top:2px; }

.wproTimeline{ margin-top:14px; padding-top:12px; border-top:1px solid var(--wline); }
.wproTimeline__title{ font-weight:800; margin-bottom:10px; }
.wproTimeline__scroller{ display:flex; gap:10px; overflow:auto; padding-bottom:6px; scroll-snap-type:x mandatory; }
.wproHour{
  min-width:110px;
  border:1px solid var(--wline);
  background: var(--wchip);
  border-radius:16px;
  padding:10px 12px;
  scroll-snap-align:start;
}
.wproHour.is-focus{ outline: 2px solid color-mix(in srgb, var(--wtext) 30%, transparent); }
.wproHour__t{ font-weight:900; font-size:13px; }
.wproHour__row{ margin-top:8px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.wproHour__ic svg{ width:18px; height:18px; }
.wproHour__v{ font-weight:900; }

.wproDays{ display:grid; grid-template-columns: 1fr; gap:10px; }
.wproDay{
  display:grid;
  grid-template-columns: 78px 1fr auto;
  align-items:center;
  gap:10px;
  border:1px solid var(--wline);
  background: var(--wchip);
  border-radius:16px;
  padding:10px 12px;
}
.wproDay__d{ font-weight:900; font-size:12px; color:var(--wmuted); }
.wproDay__m{ font-weight:800; overflow-wrap:anywhere; word-break:break-word; }
.wproDay__r{ display:flex; align-items:center; gap:10px; font-weight:900; }
.wproMini svg{ width:18px; height:18px; }

.wproFoot{ margin-top:10px; color:var(--wmuted); font-size:12px; }

@media (max-width: 480px){
  .wpro__head{ padding:12px; }
  .wpro__title{ font-size:18px; }
  .wproTemp{ font-size:48px; }
}


/* ===== Semana del evento (responsive) ===== */
.wproAcc{ display:none; margin-top:14px; }
.wproAcc__sum{
  list-style:none;
  cursor:pointer;
  user-select:none;
  border:1px solid var(--wline);
  background:var(--wcard);
  color:var(--wtext);
  border-radius:16px;
  padding:12px 14px;
  font-weight:800;
}
.wproAcc__sum::-webkit-details-marker{ display:none; }
.wproAcc__panel{
  margin-top:10px;
  border:1px solid var(--wline);
  background:var(--wcard);
  border-radius:16px;
  padding:12px;
  box-shadow: var(--wshadow);
}

/* Resalta día del evento */
.wproDay.is-event{
  border-color: color-mix(in srgb, var(--wtext) 22%, var(--wline));
  outline: 2px solid color-mix(in srgb, var(--wtext) 18%, transparent);
}
.wproDay__badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  border:1px solid var(--wline);
  background:var(--wchip);
  color:var(--wmuted);
  margin-top:4px;
}

/* Móvil: solo clima del día, la semana va colapsada */
@media (max-width: 900px){
  #wproDaysCard{ display:none; } /* ocultar card derecha */
  .wproAcc{ display:block; }     /* mostrar acordeón */
}



/* ===== Carrusel PRO para "Por horas" ===== */
.wproTimeline__scroller{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden;
  gap:12px;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}

.wproHour{
  flex:0 0 auto;
  width:120px;             /* ajusta si quieres */
  min-width:120px;
  scroll-snap-align:start;
}

/* Ocultar scrollbar (pro) */
.wproTimeline__scroller::-webkit-scrollbar{ height:8px; }
.wproTimeline__scroller::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.12); border-radius:99px; }
.wpro.is-light .wproTimeline__scroller::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.10); }

/* Evita que algo "se salga" visualmente del card */
.wproCard{ overflow:hidden; }

/* ===== Semana del evento (acordeón móvil) ===== */
.wproAcc{ display:none; margin-top:14px; }
.wproAcc__sum{
  list-style:none;
  cursor:pointer;
  user-select:none;
  border:1px solid var(--wline);
  background:var(--wcard);
  color:var(--wtext);
  border-radius:16px;
  padding:12px 14px;
  font-weight:800;
}
.wproAcc__sum::-webkit-details-marker{ display:none; }
.wproAcc__panel{
  margin-top:10px;
  border:1px solid var(--wline);
  background:var(--wcard);
  border-radius:16px;
  padding:12px;
  box-shadow: var(--wshadow);
}

/* Resalta día del evento */
.wproDay.is-event{
  border-color: color-mix(in srgb, var(--wtext) 22%, var(--wline));
  outline: 2px solid color-mix(in srgb, var(--wtext) 18%, transparent);
}
.wproDay__badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  border:1px solid var(--wline);
  background:var(--wchip);
  color:var(--wmuted);
  margin-top:4px;
}

/* Móvil: ocultar card derecha y usar acordeón */
@media (max-width: 900px){
  #wproDaysCard{ display:none; }
  .wproAcc{ display:block; }
}