/* ==========================================================================
   RECUERDOS (/recuerdos): el álbum de fotos del servidor. Negro y oro de
   Imaginitycraft; los momentos difíciles, en rojo oscuro.
   ========================================================================== */
.es-recuerdos { background: #0d0b0f; }
.rc { color: #efe6d2; }
.rc-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(3.5rem, 9vw, 6rem) 1rem clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(ellipse at 50% 30%, rgba(224, 178, 82, .2), transparent 50%), #0d0b0f; }
.rc-emblema { width: clamp(120px, 18vw, 180px); margin: 0 auto 1rem; perspective: 600px; }
.rc-emblema img { width: 100%; height: auto; display: block; transform-style: preserve-3d; animation: rc-gira 9s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(224, 178, 82, .35)); }
@keyframes rc-gira { 0%, 100% { transform: rotateY(-18deg) rotateX(6deg) translateY(0) } 50% { transform: rotateY(18deg) rotateX(-4deg) translateY(-8px) } }
.rc-kicker { letter-spacing: .35em; text-transform: uppercase; font-size: .78rem; color: #c9a85e; margin-left: auto; margin-right: auto; }
.rc-hero h1 { font-family: "Big Shoulders Stencil", system-ui, sans-serif; font-size: clamp(2.8rem, 9vw, 5.6rem); line-height: .92; margin: .4rem 0 .8rem;
  background: linear-gradient(180deg, #fff3c4 0%, #e0b252 55%, #a8741f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rc-lead { color: #d9cdb2; max-width: 34rem; margin: 0 auto; font-size: 1.1rem; }
.rc-saltos { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.rc-saltos a { padding: .6rem 1.1rem; border-radius: 6px; border: 1px solid rgba(224, 178, 82, .45); color: #f0cf7a; text-decoration: none; font-weight: 600; }
.rc-saltos a:hover { background: rgba(224, 178, 82, .12); }
.rc-saltos a + a { border-color: rgba(255, 77, 109, .45); color: #ff8fa3; }

.rc-sec { max-width: 1240px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; scroll-margin-top: 80px; }
.rc-sec h2 { font-family: "Big Shoulders Stencil", system-ui, sans-serif; font-size: clamp(2rem, 5vw, 3rem); color: #fff; margin: 0 0 .4rem; text-align: center; }
.rc-sub { color: #b9ab8d; text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-flow: dense; gap: 14px; perspective: 1200px; }
.rc-foto, .rc-nofoto { margin: 0; position: relative; border-radius: 6px; overflow: hidden; background: #17120c; cursor: zoom-in;
  transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 0 0 1px rgba(224, 178, 82, .25), 0 10px 24px rgba(0, 0, 0, .45); will-change: transform; }
.rc-foto img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.rc-foto:hover img { transform: scale(1.05); }
.rc-foto figcaption, .rc-nofoto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; font-size: .88rem; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85)); transform: translateZ(30px); }
.rc-ancha { grid-column: span 2; }
.rc-alta { grid-row: span 2; }
.rc-alta img { aspect-ratio: auto; min-height: 100%; }
.rc-foto:hover, .rc-nofoto:hover { box-shadow: 0 0 0 2px #e0b252, 0 18px 40px rgba(0, 0, 0, .6); }
@media (max-width: 620px) { .rc-ancha { grid-column: auto; } .rc-alta { grid-row: auto; } .rc-alta img { aspect-ratio: 16 / 10; } }

/* momentos difíciles */
.rc-oscura { background: radial-gradient(ellipse at 50% 0%, rgba(179, 0, 45, .16), transparent 60%); max-width: none; }
.rc-oscura > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.rc-oscura h2 { color: #ffd9de; }
.rc-roja img { filter: saturate(.7) contrast(1.05); }
.rc-roja:hover img { filter: none; }
.rc-roja { box-shadow: 0 0 0 1px rgba(255, 77, 109, .3), 0 10px 24px rgba(0, 0, 0, .5); }
.rc-roja:hover { box-shadow: 0 0 0 2px #ff4d6d, 0 18px 40px rgba(0, 0, 0, .6); }
/* la foto que no existe: una polaroid negra con lo que pasó */
.rc-nofoto { cursor: default; aspect-ratio: 16 / 10; background: #070506; box-shadow: 0 0 0 1px #2a1d1d, inset 0 0 0 10px #f2ead8, inset 0 0 0 11px #cbbfa4, 0 10px 24px rgba(0, 0, 0, .5); display: grid; }
.rc-nofoto > div { margin: 10px 10px 2.6rem; background: radial-gradient(ellipse at 50% 40%, #1d1414, #070506 70%); display: grid; place-content: center; text-align: center; padding: 1rem; }
.rc-nofoto b { font-family: "Big Shoulders Stencil", system-ui, sans-serif; font-size: 1.5rem; color: #fff; letter-spacing: .03em; }
.rc-nofoto p { margin: .4rem 0; color: #c9b9b9; font-size: .92rem; }
.rc-nofoto span { color: #f0cf7a; font-style: italic; font-size: .9rem; }
.rc-nofoto figcaption { background: none; color: #6b5a3f; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: .7rem; text-align: center; transform: none; }
.rc-nofoto.rc-luz > div { background: radial-gradient(ellipse at 50% 40%, #3a2c10, #0d0904 70%); }
.rc-final { text-align: center; font-family: "Big Shoulders Stencil", system-ui, sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: #f0cf7a; margin-top: 2.5rem !important; letter-spacing: .04em; }
.rc-mas { text-align: center; }
.rc-mas a { display: inline-block; margin-top: .6rem; padding: .75rem 1.3rem; border-radius: 6px; background: #e0b252; color: #1a1408; font-weight: 700; text-decoration: none; }

/* visor a pantalla completa */
.rc-visor { position: fixed; inset: 0; z-index: 9000; background: rgba(5, 4, 6, .94); display: grid; place-items: center; padding: 3rem 4rem; }
.rc-visor[hidden] { display: none; }
.rc-visor figure { margin: 0; max-width: min(1400px, 100%); text-align: center; }
.rc-visor img { max-width: 100%; max-height: 80vh; border-radius: 4px; box-shadow: 0 0 0 2px rgba(224, 178, 82, .5), 0 30px 80px rgba(0, 0, 0, .7); animation: rc-entra .35s ease; }
@keyframes rc-entra { from { opacity: 0; transform: scale(.96) } to { opacity: 1; transform: none } }
.rc-visor figcaption { color: #efe6d2; margin-top: .9rem; }
.rc-visor button { position: absolute; border: 0 !important; background: rgba(255, 255, 255, .06) !important; color: #f0cf7a; font-size: 2rem; line-height: 1; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; box-shadow: none !important; min-height: 0; padding: 0; }
.rc-visor button:hover, .rc-visor button:focus-visible { background: rgba(224, 178, 82, .2) !important; }
.rc-v-cerrar { top: 1rem; right: 1rem; font-size: 1.3rem !important; }
.rc-v-antes { left: 1rem; top: 50%; transform: translateY(-50%); }
.rc-v-despues { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .rc-visor { padding: 3.5rem .5rem; } .rc-v-antes, .rc-v-despues { top: auto; bottom: 1rem; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rc-emblema img { animation: none; } .rc-foto, .rc-foto img { transition: none; } }
/* la polaroid crece con su texto; el pie va debajo, no encima */
.rc-nofoto { aspect-ratio: auto; min-height: 220px; display: flex; flex-direction: column; }
.rc-nofoto > div { flex: 1; margin: 10px 10px 0; }
.rc-nofoto figcaption { position: static; padding: .55rem .7rem .75rem; }
.rc-hero { padding-top: clamp(4.5rem, 10vw, 7rem); }
