/* Destino · boda en la playa: arena, azul mar, atardecer y un pase de abordar */
:root {
  --fondo: #fbf6ee;
  --arena: #f1e6d4;
  --texto: #183a4a;
  --mar: #1e6f86;
  --mar-profundo: #134e60;
  --turquesa: #4fb3b5;
  --coral: #e0785a;
  --suave: #e9dcc6;
  --acento: #e0785a;
  --sobre-acento: #fff;
  --linea: rgba(24, 58, 74, .2);
  --encabezado-fondo: rgba(251, 246, 238, .93);
  --menu-fondo: #fbf6ee;
  --fuente-display: "Gloock", Georgia, serif;
  --fuente-script: "Caveat", "Brush Script MT", cursive;
  --fuente-texto: "DM Sans", system-ui, sans-serif;
  --fuente-mono: "DM Mono", ui-monospace, monospace;
  --radio: 999px;
  --radio-foto: 10px;
}
.encabezado__marca { font: 400 24px var(--fuente-display); color: var(--mar); }
.eyebrow { color: var(--mar); font-family: var(--fuente-mono); font-weight: 500; letter-spacing: .26em; }
.titulo { color: var(--texto); }
.enlace { font: 500 13px var(--fuente-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mar); text-decoration: none; }
.arena { background: var(--arena); }

/* Olas entre secciones */
.ola { display: block; width: 100%; height: 40px; margin-bottom: -1px; }
.ola--mar { fill: var(--mar); background: var(--arena); }
.ola--arena { fill: var(--arena); background: var(--mar-profundo); transform: scaleY(-1); margin: -1px 0 0; }
.ola--atardecer { fill: var(--coral); background: var(--fondo); }

/* Portada: foto y pase de abordar */
.hero { position: relative; display: grid; background: var(--arena); padding-bottom: 56px; }
.hero__foto { width: 100%; height: 62svh; object-fit: cover; object-position: 50% 40%; }
.boleto { position: relative; z-index: 2; margin: -84px 14px 0; display: grid; background: #fffdf8; border-radius: 18px; box-shadow: 0 24px 50px rgba(19, 78, 96, .18); }
.boleto__principal { padding: 0 22px 22px; }
.boleto__cabeza { margin: 0 -22px 18px; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; background: var(--mar); color: #fff; border-radius: 18px 18px 0 0; font: 500 12px var(--fuente-mono); letter-spacing: .3em; text-transform: uppercase; }
.boleto__sol { width: 22px; height: 22px; fill: #ffd38a; color: #ffd38a; }
.boleto__nos { font-size: 30px; color: var(--coral); line-height: 1; }
.boleto__nombres { font: 400 clamp(42px, 12vw, 64px)/1 var(--fuente-display); margin-top: 4px; }
.boleto__nombres em { font: 500 .7em var(--fuente-script); color: var(--coral); }
.boleto__ruta { display: flex; align-items: center; gap: 10px; margin: 18px 0; font: 500 13px var(--fuente-mono); letter-spacing: .12em; }
.boleto__ruta strong { font: 400 30px var(--fuente-display); letter-spacing: .04em; color: var(--mar); }
.boleto__ruta i { flex: 1; height: 0; border-top: 2px dashed var(--linea); position: relative; }
.boleto__ruta i::after { content: "✈"; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-style: normal; color: var(--mar); background: #fffdf8; padding: 0 6px; font-size: 16px; }
.boleto__datos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 0; }
.boleto__datos dt { font: 500 10px var(--fuente-mono); letter-spacing: .24em; text-transform: uppercase; color: rgba(24, 58, 74, .6); }
.boleto__datos dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.boleto__ancho { grid-column: span 2; }
.boleto__talon { position: relative; display: grid; justify-items: center; gap: 14px; padding: 26px 22px 24px; border-top: 2px dashed var(--linea); }
.boleto__talon::before, .boleto__talon::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--arena); }
.boleto__talon::before { left: -12px; }
.boleto__talon::after { right: -12px; }
.boleto__barras { width: 100%; max-width: 240px; height: 44px; background: repeating-linear-gradient(90deg, var(--texto) 0 2px, transparent 2px 4px, var(--texto) 4px 5px, transparent 5px 8px, var(--texto) 8px 11px, transparent 11px 12px, var(--texto) 12px 13px, transparent 13px 16px); }
.boleto .boton--grande { width: 100%; max-width: 320px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; min-height: 100svh; padding: 0; }
  .hero__foto { height: 100svh; }
  .boleto { margin: 80px 48px 40px -80px; grid-template-columns: minmax(0, 1fr) 270px; max-width: 800px; }
  .boleto .boton--grande { padding-inline: 18px; font-size: 13px; letter-spacing: .1em; white-space: nowrap; }
  .boleto__talon { border-top: 0; border-left: 2px dashed var(--linea); align-content: center; }
  .boleto__talon::before, .boleto__talon::after { left: -13px; right: auto; }
  .boleto__talon::before { top: -12px; }
  .boleto__talon::after { top: auto; bottom: -12px; }
  .boleto__barras { height: 120px; width: 120px; transform: rotate(90deg); margin: 0 0 6px; }
}

/* Invitación */
.icono-palmera { width: 56px; height: 56px; fill: var(--mar); color: var(--mar); display: block; margin: 0 auto 16px; }
.frase { font: 400 clamp(24px, 4.4vw, 32px)/1.35 var(--fuente-display); max-width: 30ch; margin: 0 auto; }
.padres__titulo { font: 500 11px var(--fuente-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.invitacion__cierre { margin-top: 36px; font-size: 34px; color: var(--mar); }

/* Historia y cuenta en azul mar */
.mar { background: var(--mar); color: #fff; }
.mar .titulo { color: #fff; }
.mar .eyebrow { color: #bfe6e4; }
.mar--profundo { background: var(--mar-profundo); padding-top: 0; }
.hito { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 28px 22px; text-align: left; }
.hito__num { font-family: var(--fuente-mono); color: #ffd38a; }
.hito__fecha { font-family: var(--fuente-mono); letter-spacing: .1em; }
.cuenta { margin-top: 18px; }
.cuenta__item { background: rgba(255,255,255,.1); border-radius: 14px; }
.cuenta__num { font-family: var(--fuente-mono); font-weight: 500; }
.cuenta__lbl { font-family: var(--fuente-mono); }
.boton--linea-claro { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }

/* Celebración */
.evento { background: #fffdf8; border-radius: 18px; box-shadow: 0 10px 34px rgba(19, 78, 96, .1); }
.evento__tipo { font-family: var(--fuente-mono); color: var(--mar); }
.evento__hora { color: var(--coral); }
.itin-caja { margin-top: 56px; }
.subtitulo { font-size: 46px; color: var(--mar); }
.itin__hora { font-family: var(--fuente-mono); font-size: 17px; color: var(--mar); }
.itin__txt { text-align: left; }
.itin__punto { background: var(--coral); }

/* Padrinos */
.padrino__rol { font-family: var(--fuente-mono); color: var(--coral); font-weight: 500; }

/* Hospedaje */
.hotel { background: #fffdf8; border-radius: 18px; border-left: 6px solid var(--turquesa); }
.hotel__nombre { color: var(--mar); }
.hotel__codigo strong { font-family: var(--fuente-mono); color: var(--coral); }

/* Postales: vestimenta y regalos */
.detalles__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.postal { position: relative; background: #fffdf8; border-radius: 6px; padding: 54px 24px 36px; box-shadow: 0 0 0 1px var(--linea), 0 12px 30px rgba(19, 78, 96, .08);
  background-image: repeating-linear-gradient(135deg, var(--coral) 0 10px, #fffdf8 10px 20px, var(--mar) 20px 30px, #fffdf8 30px 40px); background-size: 100% 8px; background-repeat: no-repeat; }
.postal__sello { position: absolute; top: 20px; right: 18px; padding: 6px 10px; border: 2px dashed var(--coral); color: var(--coral); font: 500 11px var(--fuente-mono); letter-spacing: .2em; text-transform: uppercase; transform: rotate(4deg); }
.vest__codigo, .regalo__tienda { color: var(--mar); }
.regalo { padding: 16px 8px; }
.regalo__clabe { font-family: var(--fuente-mono); }

/* Galería tipo postal */
.gal__item { border: 8px solid #fffdf8; box-shadow: 0 8px 24px rgba(19, 78, 96, .12); border-radius: 4px; }
.gal__item:nth-child(3n+1) { transform: rotate(-1.5deg); }
.gal__item:nth-child(3n+3) { transform: rotate(1.5deg); }
.hashtag { margin-top: 30px; }
.hashtag strong { color: var(--coral); }

/* Confirmar al atardecer */
.confirmar { background: linear-gradient(180deg, var(--coral) 0%, #d95f6b 55%, #8d4f86 100%); color: #fff; }
.confirmar .titulo { color: #fff; }
.confirmar__sol { width: 64px; height: 64px; fill: #ffd38a; color: #ffd38a; display: block; margin: 0 auto 14px; }
.confirmar__texto { max-width: 44ch; margin: 14px auto 0; }
.boton--claro { background: #fff; color: var(--coral); border-color: #fff; }

.pie__nombre { color: var(--mar); font-size: 52px; }

/* Encabezado claro mientras está sobre la foto */
.encabezado:not(.con-fondo) .encabezado__marca { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
@media (max-width: 899px) {
  .encabezado:not(.con-fondo) { --encabezado-texto: #fff; }
  body.sin-scroll .btn-menu { color: var(--texto); }
}
