/* Catálogo de plantillas completas (/bodas/plantillas): cada tarjeta es una muestra en los colores y letras de la plantilla. */
* { box-sizing: border-box; }
body { margin: 0; background: #f6f2ea; color: #3b3732; font: 400 16px/1.6 'Montserrat', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
header { max-width: 760px; margin: 0 auto; padding: 56px 20px 10px; text-align: center; }
.c-marca { margin: 0 0 8px; font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #8a7f70; }
header h1 { margin: 0 0 10px; font: 400 clamp(2.4rem, 8vw, 3.4rem)/1.1 'Cormorant Garamond', serif; }
header p { margin: 0 auto; max-width: 560px; color: #6d655a; }
.c-rejilla { max-width: 1180px; margin: 0 auto; padding: 30px 16px 60px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.c-tarjeta { display: flex; flex-direction: column; color: inherit; text-decoration: none; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(40, 30, 20, .45); transition: transform .3s ease, box-shadow .3s ease; }
.c-tarjeta:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(40, 30, 20, .55); }
.c-tarjeta:focus-visible { outline: 2px solid #8a7f70; outline-offset: 3px; }
.c-vista { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--papel); display: grid; place-items: center; }
.c-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.c-foto { position: relative; width: 56%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 22%; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.cp-marco { border-radius: 999px 999px 18px 18px; }
.cp-sobre, .cp-hoja { border: 6px solid #fff; rotate: -4deg; }
.cp-completa, .cp-rasgada { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; }
.c-bn { filter: grayscale(1) contrast(1.06); }
.c-vista:has(.cp-rasgada)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: #fff; -webkit-mask: url("/bodas/assets/texturas/rasgado.webp") center bottom / 100% 100% no-repeat; mask: url("/bodas/assets/texturas/rasgado.webp") center bottom / 100% 100% no-repeat; }
.c-vista:has(.cp-rasgada) .c-nombres { bottom: 18%; }
.cp-cristal { border-radius: 20px; border: 6px solid rgba(255, 255, 255, .6); }
.c-encaje { position: relative; width: 60%; aspect-ratio: 1598 / 2192; margin-bottom: 22%; filter: drop-shadow(0 10px 16px rgba(60, 45, 30, .18)); }
.c-encaje::after { content: ''; position: absolute; inset: 0; background: url("/bodas/assets/texturas/encaje.webp") center / 100% 100% no-repeat; }
.c-encaje .c-foto { position: absolute; left: 12.5%; top: 9.5%; width: 75%; height: 83%; margin: 0; aspect-ratio: auto; border-radius: 999px 999px 2px 2px; box-shadow: none; }
.c-papel { position: relative; width: 64%; aspect-ratio: 1522 / 2191; margin-bottom: 20%; display: grid; place-items: center; rotate: -2deg; background: url("/bodas/assets/texturas/papel.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 12px 18px rgba(30, 20, 10, .2)); }
.c-papel .c-foto { width: 84%; margin: -30% 0 0; rotate: 4deg; }
.c-iglesia { position: relative; width: 62%; margin-bottom: 20%; mix-blend-mode: multiply; }
.c-sobre { position: absolute; left: 6%; width: 88%; bottom: 14%; }
.c-nombres { position: absolute; left: 0; right: 0; bottom: 4%; margin: 0; text-align: center; font: 400 1.9rem/1 var(--script); color: var(--tinta); text-shadow: 0 1px 10px var(--papel); }
.c-nombres em { font-style: normal; font-size: .6em; color: var(--acento); }
.c-tarjeta:has(.cp-completa, .cp-rasgada) .c-nombres { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.c-tarjeta h2 { margin: 18px 20px 4px; font: 500 1.6rem/1.1 var(--serif); color: #3b3732; }
.c-tarjeta p { margin: 0 20px; font-size: .88rem; color: #6d655a; }
.c-ver { margin: 14px 20px 20px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: #3b3732; border-bottom: 2px solid var(--acento); align-self: flex-start; }
footer { padding: 0 16px 40px; text-align: center; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: #8a7f70; }
