/* ===== Sección Proyectos ===== */

/* Texto solo para lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Recuadro de color provisional (hasta tener capturas reales) */
.thumb { background: linear-gradient(135deg, var(--azul-profundo), var(--azul-noche)); display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.thumb span { font-family: var(--font-titulos); font-weight: 700; font-size: 20px; color: var(--blanco); line-height: 1.2; }
.thumb-big { min-height: 260px; padding: 24px; }
.thumb-big span { font-size: 28px; }

/* Proyecto destacado */
.featured { display: flex; flex-wrap: wrap; background: var(--marfil); border: 1px solid var(--borde); border-radius: 16px; overflow: hidden; }
.featured .thumb { flex: 1 1 340px; }
.featured-body { flex: 1 1 340px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-body .tag { margin-top: 0; }
.featured-body h3 { margin: 0; font-size: 26px; }
.featured-body p { margin: 0; color: var(--pizarra); }

/* Tarjetas de demos */
.project { padding: 0; overflow: hidden; gap: 0; background: var(--marfil); border: 1px solid var(--borde); }
.project .thumb { height: auto; aspect-ratio: 1200 / 630; }
.project-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.project-body .tag { margin-top: 0; }
.project-body h3 { font-size: 20px; }
.project-body p { font-size: 15px; line-height: 1.55; }
.link-arrow { margin-top: auto; font-weight: 600; font-size: 16px; color: var(--azul-profundo); }
.note { font-size: 15px; line-height: 1.6; color: var(--pizarra); }

/* Capturas reales de las demos */
.thumb-img { position: relative; overflow: hidden; padding: 0; background: var(--gris-azulado); }
.thumb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.thumb-retrato img { object-position: center 22%; }
