:root {
  --letra-titulo: "Fredoka", sans-serif;
  --letra-nombres: "Pacifico", cursive;
  --suave: #556079;
  --linea: #DDE6EF;
  --sombra: rgba(46, 58, 89, .16);
  --papel: #FFFFFF;
  --t1: 33%;
  --t2: 12%;
  --t3: 46%;
  --tarjeta-radio: 18px;
  --boton-radio: 999px;
  --tarjeta-arriba: 54%;
}

/* Cielo: del color de la paleta, muy claro, hasta blanco abajo. */
#a-cielo { position: absolute; inset: 0; background: linear-gradient(to bottom, #BFE3F6, #DDF0FA 40%, #F3FAFD 70%, #FFFFFF); }
#a-sol { position: absolute; top: 7%; right: 10%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, #FFF3C4 0 38%, rgba(255, 233, 160, .55) 52%, rgba(255, 233, 160, 0) 72%); }

/* Nubes de acuarela hechas con degradados: no pesan nada. */
.nube { position: absolute; display: block; width: var(--w, 46%); aspect-ratio: 2.3; pointer-events: none;
  background:
    radial-gradient(closest-side at 28% 64%, #fff 0 82%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(closest-side at 52% 40%, #fff 0 84%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(closest-side at 74% 60%, #fff 0 82%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(closest-side at 50% 82%, #E2F0F8 0 70%, rgba(226, 240, 248, 0) 100%);
  filter: drop-shadow(0 3px 0 rgba(150, 190, 215, .25)); }
.n1 { --w: 52%; top: 22%; left: -12%; opacity: .9; }
.n2 { --w: 40%; top: 30%; right: -6%; opacity: .8; }
.n3 { --w: 60%; top: 64%; left: 30%; opacity: .85; }
.n4 { --w: 96%; bottom: -9%; left: -30%; }
.n5 { --w: 90%; bottom: -11%; right: -32%; }
.n6 { --w: 70%; bottom: -4%; left: 14%; }
.n-foto1 { --w: 44%; top: 25%; left: 18%; }
.n-foto2 { --w: 38%; top: 26.5%; right: 16%; }

/* Foto: un círculo entre nubes. Sin foto, las iniciales. */
#a-foto { left: 50%; top: 7%; width: min(46%, 210px); transform: translateX(-50%); outline: 2px dashed color-mix(in srgb, var(--acento) 60%, transparent); outline-offset: 5px; }
#a-foto .marco-adorno { background: radial-gradient(circle at 50% 35%, #FFFFFF, color-mix(in srgb, var(--acento) 10%, #F2F8FC)); }
#a-foto .monograma { font-family: var(--letra-nombres); font-size: 3.4rem; color: var(--acento); }

/* La avioneta jala una manta con los nombres. */
#avion { position: absolute; z-index: 3; top: 50%; left: max(4%, calc(50% - 215px)); display: flex; align-items: center; width: min(92%, 430px); pointer-events: none; }
#avion img { width: 46%; height: auto; flex: none; animation: vaiven 2.2s ease-in-out infinite alternate; }
#avion .cuerda { flex: none; width: 9%; height: 1.5px; background: rgba(46, 58, 89, .45); }
#avion .manta { flex: 1 1 auto; min-width: 0; padding: .45rem .9rem .45rem 1.1rem; background: #FFFFFF; border: 2px solid var(--acento); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%); transform-origin: 100% 50%; animation: ondea 1.1s ease-in-out infinite alternate; }
#avion .manta span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--nombres-letra, var(--letra-nombres)); font-size: 1.25rem; color: var(--acento); text-align: center; }
@keyframes vaiven { from { transform: translateY(-3px) rotate(-2deg); } to { transform: translateY(3px) rotate(1.5deg); } }
@keyframes ondea { from { transform: skewY(-1.5deg) scaleY(.97); } to { transform: skewY(1.5deg) scaleY(1.02); } }

#t1 p { font-family: "Fredoka", sans-serif; font-style: normal; font-weight: 500; }
#t3 p { font-style: normal; font-family: "Fredoka", sans-serif; font-weight: 500; color: var(--acento); }
#t2 .sub { display: block; margin-top: .5rem; }
#t3 .fecha { font-weight: 600; letter-spacing: .04em; }

/* Portada: dos bancos de nubes que se apartan. */
#portada .hoja-izq, #portada .hoja-der { background: linear-gradient(to bottom, #CDEAF8, #F1F9FD 60%, #FFFFFF); }
#portada .nube { --w: 150%; }
.p1 { top: 4%; left: -40%; } .p2 { top: 38%; left: -60%; } .p3 { bottom: 2%; left: -30%; }
.p4 { top: 12%; right: -50%; } .p5 { top: 46%; right: -40%; } .p6 { bottom: 6%; right: -60%; }
.tarjeta .para { letter-spacing: .14em; }
.tarjeta .sub { font-style: normal; font-family: "Fredoka", sans-serif; }
#abrir { letter-spacing: .08em; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { #avion img, #avion .manta { animation: none; } }
