/* Servicio de invitaciones: reutiliza la estructura de /menus/menus.css con su propia paleta festiva.
   ciruela #3B1F4A · coral #B4314B · dorado #E9B949 · nácar #FBF7F4 · malva #6E5A73.
   Contraste: ciruela/nácar 13,3:1 · malva/nácar 5,8:1 · coral/nácar 5,7:1 · blanco/coral 6:1 · ciruela/dorado 9,6:1. */
:root { --carbon: #3b1f4a; --pimenton: #b4314b; --pimenton-oscuro: #922540; --mostaza: #e9b949; --crema: #fbf7f4; --crema-2: #f3e8ee; --albahaca: #3b1f4a; --cafe: #6e5a73; --linea: #ead9e2; }
.oscuro { background: #2a1536 !important; }
.titulo-d { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.02em; }
@font-face { font-family: 'Fraunces'; src: url('/fuente/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
.portada-m h1 span { font-style: italic; }

/* Vitrina: chat de WhatsApp con el link y la invitación abierta */
.chat { position: relative; justify-self: center; width: min(360px, 100%); }
.chat-tel { background: #0f0a12; border-radius: 40px; padding: 11px; box-shadow: 0 40px 70px -30px rgba(59, 31, 74, .6); }
.chat-pant { border-radius: 30px; overflow: hidden; background: #efe7dd; min-height: 520px; display: flex; flex-direction: column; }
.chat-cab { background: #1f5c4d; color: #fff; padding: 22px 16px 12px; font-weight: 800; font-size: .95rem; }
.chat-cab span { display: block; font-weight: 500; font-size: .75rem; opacity: .85; }
.burbuja { align-self: flex-end; margin: 14px 12px 0 40px; background: #d9fdd3; border-radius: 14px 14px 4px 14px; padding: 6px; max-width: 86%; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: .82rem; color: #1b1b1b; }
.burbuja.entrante { align-self: flex-start; background: #fff; border-radius: 14px 14px 14px 4px; margin: 10px 40px 0 12px; padding: 8px 10px; }
.vista-link { background: #fff; border-radius: 10px; overflow: hidden; }
.vista-link .img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #f7f3ea, #e9e2d2); display: grid; place-items: center; text-align: center; color: #2f3b2e; font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; padding: 6px; }
.vista-link .txt { padding: 8px 10px; }
.vista-link b { display: block; font-size: .82rem; }
.vista-link small { color: #667; }
.burbuja .url { display: block; color: #0a66c2; padding: 6px 4px 2px; word-break: break-all; }
.hora { display: block; text-align: right; font-size: .66rem; color: #667; margin-top: 2px; }
.js .burbuja { animation: llega .6s cubic-bezier(.2,.8,.2,1) both; }
.js .burbuja.entrante { animation-delay: 1s; }
.js .burbuja.entrante.d2 { animation-delay: 1.8s; }
@keyframes llega { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* Galería de ejemplos */
.galeria { display: grid; gap: 18px; }
@media (min-width: 760px) { .galeria { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .galeria { grid-template-columns: repeat(4, 1fr); } }
.ej { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--linea); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.ej:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 24px 40px -24px rgba(59, 31, 74, .5); }
.ej-portada { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 20px; position: relative; overflow: hidden; }
.ej-portada p { margin: 0; }
.ej-portada .grande { font-size: 1.9rem; line-height: 1.05; margin: 6px 0; }
.ej-info { padding: 14px 16px 18px; }
.ej-info b { display: block; font-size: 1.05rem; }
.ej-info span { color: var(--cafe); font-size: .92rem; }
.ej-info em { display: inline-block; margin-top: 8px; font-style: normal; font-weight: 800; color: var(--pimenton); }
.p-boda { background: #f7f3ea; color: #2f3b2e; font-family: 'Fraunces', serif; } .p-boda .grande { font-style: italic; }
.p-cumple { background: #fff7fb; color: #2a1b3d; font-family: 'Bricolage', 'Manrope', sans-serif; } .p-cumple .grande { font-weight: 800; color: #d6246e; font-size: 2.3rem; }
.p-baby { background: #f6fbfa; color: #2e4057; font-family: 'Fraunces', serif; } .p-baby .grande { font-weight: 600; }
.p-evento { background: #0d0f12; color: #f2f4f7; font-family: 'Bricolage', 'Manrope', sans-serif; } .p-evento .grande { font-weight: 800; } .p-evento .grande span { color: #c6f432; }
.ej-portada .chico { font-size: .82rem; opacity: .8; }

.ocasiones { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ocasiones li { padding: 10px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--linea); font-weight: 700; }

/* Fotos recortadas en las tarjetas de ejemplo */
.ej-portada { align-content: start; padding-top: 30px; }
.ej-portada > div { position: relative; z-index: 1; }
.ej-recorte { position: absolute; z-index: 0; pointer-events: none; height: auto; filter: drop-shadow(0 14px 18px rgba(30, 20, 40, .18)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.p-boda .ej-recorte { width: 62%; left: 19%; bottom: -10%; }
.p-cumple .ej-recorte { width: 42%; right: 4%; bottom: -22%; }
.p-cumple > div { padding-right: 18%; }
.p-baby .ej-recorte { width: 74%; left: 13%; bottom: -4%; }
.p-evento .ej-recorte { width: 80%; left: 10%; bottom: 8%; filter: drop-shadow(0 18px 30px rgba(198, 244, 50, .16)); }
.ej:hover .ej-recorte, .ej:focus-visible .ej-recorte { transform: translateY(-6px) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .ej-recorte { transition: none; } .ej:hover .ej-recorte { transform: none; } }

/* Temporadas */
.temporadas { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.temporada { position: relative; overflow: hidden; border-radius: 24px; padding: 24px 22px 22px; color: #fff; min-height: 260px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.temporada:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 26px 44px -26px rgba(40, 20, 50, .7); }
.temporada::after { content: ''; position: absolute; width: 180px; height: 180px; right: -50px; bottom: -60px; border-radius: 50%; background: rgba(255,255,255,.12); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.temporada:hover::after { transform: scale(1.3); }
.t-quince { background: linear-gradient(150deg, #7b2d6b, #b4314b); }
.t-grados { background: linear-gradient(150deg, #1d2b53, #3b4f8f); }
.t-comunion { background: linear-gradient(150deg, #5f7f8f, #8aa9a2); }
.t-navidad { background: linear-gradient(150deg, #8f1d2c, #1f5f3f); }
.t-mes { align-self: flex-start; font-size: .8rem; font-weight: 800; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; }
.temporada h3 { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600; margin: 18px 0 8px; line-height: 1.1; }
.temporada p { margin: 0 0 18px; color: rgba(255,255,255,.88); }
.temporada a { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.temporada a:hover { border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .temporada, .temporada::after { transition: none; } }
