/* TIPOGRAFIAS: 
Titulo y nav: Inter
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
Texto: Nunito
font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal; */

:root {
    --bg-scrapbook: #ebdffd;
    --bg-dark-paper: #281f38;
    --bg-notebook: #fcfaff;
    --lila-accent: #7b4ee6;
    --lila-tape: rgba(188, 156, 250, 0.45);
    --text-dark: #1b122b;
    --text-light: #f1eaff;
    --status-aprobada: #d3f9df;
    --status-encurso: #e0f0ff;
    --status-falta: #ffe3e3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-scrapbook);
    color: var(--text-dark);
    overflow-x: hidden;
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* HEADER */

/* --- STICKY NAVIGATION (Estilo VN) --- */
.vn-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Inter", sans-serif;
    font-weight: bold;
}

.vn-nav img{
    width: 180px;
}

.vn-logo {
    font-size: 15pt;
    font-weight: 900;
    color: var(--lila-accent);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.vn-logo span {
    color: #8c7ba6;
    font-weight: 400;
    font-size: 10pt;
    margin-left: 5px;
}

.vn-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.vn-menu a {
    text-decoration: none;
    color: #61527a;
    font-size: 9.5pt;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: all 0.2s;
}

.vn-menu a.active,
.vn-menu a:hover {
    color: var(--lila-accent);
    background: var(--bg-notebook);
    border-radius: 4px;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

/* MAIN */

/* --- PAPEL RASGADO SUPERIOR (Efecto Torn Paper) --- */
.torn-paper-top {
    background: var(--bg-notebook);
    padding: 40px 40px 60px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Título Estilo Sketch Dibujado de la foto */
.sketch-title-box {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
}

.sketch-title-box .year {
    font-size: 20pt;
    color: var(--lila-accent);
    display: block;
    transform: rotate(-5deg) translateY(10px);
}

.sketch-title {
    font-size: 52pt;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px var(--bg-scrapbook);
}

.tag-subtitles {
    font-size: 13pt;
    color: #53446e;
    font-weight: bold;
    margin-top: 5px;
}

/* Divisor de Rasgado CSS utilizando clip-path irregular */
.tear-edge {
    width: 100%;
    height: 30px;
    background: var(--bg-notebook);
    position: absolute;
    bottom: -28px;
    left: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 95% 85%, 91% 20%, 86% 75%, 80% 30%, 74% 90%, 69% 45%, 62% 80%, 57% 25%, 52% 85%, 46% 40%, 41% 95%, 34% 30%, 28% 75%, 22% 20%, 17% 85%, 11% 40%, 4% 90%, 0% 50%);
    z-index: 3;
}

/* --- CUERPO OSCURO DEL COLLAGE --- */
.collage-body {
    background-color: var(--bg-dark-paper);
    padding: 60px 40px 40px 40px;
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

/* Bloque Perfil (Polaroid + Detalle Hojas) */
.profile-collage-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

/* Foto Polaroid */
.polaroid-frame {
    background: #ffffff;
    padding: 16px 16px 35px 16px;
    box-shadow: 5px 10px 25px rgba(0, 0, 0, 0.4);
    transform: rotate(-4deg);
    width: 350px;
    height: auto;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.polaroid-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border: 1px solid #e2daf0;
}

/* Contenedor tipo recorte de hoja de cuaderno rayada */
.notebook-sheet-about {
    background: var(--bg-notebook);
    color: var(--text-dark);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(1deg);
    flex-grow: 1;
    position: relative;
    background-size: 100% 24px;
    line-height: 24px;
    padding-top: 32px;
    max-width: 700px;
}

.notebook-sheet-about h2 {
    font-weight:800;
    font-size: 30pt;
    color: #3a0072;
    margin-bottom: 5px;
    line-height: 1;
}

.notebook-sheet-about h3 {
    font-size: 12pt;
    color:#000000;
    margin-bottom: 15px;
    font-weight: bolder;
}

.notebook-sheet-about p {
    font-size: 10.5pt;
    color: #000000;
}

/* --- SECCIONES TITULADAS ESTILO SCRAPBOOK --- */
.scrap-title {
    font-family: "Inter", sans-serif;
    background: #e9e0ff;
    color: var(--text-dark);
    display: inline-block;
    padding: 6px 18px;
    font-size: 20pt;
    font-weight: bolder;
    transform: rotate(-1.5deg);
    box-shadow: 3px 3px 0px var(--lila-accent);
    margin-bottom: 25px;
    margin-top: 20px;
}

/* --- GRID DE HISTORIA ACADÉMICA (3 Columnas de hojas) --- */
.academic-scrap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

@media (max-width: 768px) {
    .academic-scrap-grid {
        grid-template-columns: 1fr;
    }

    .profile-collage-block {
        flex-direction: column;
        align-items: center;
    }
}

.card-notebook {
    background: #ffffff;
    color: var(--text-dark);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border-top: 12px solid var(--lila-accent);
}

.card-notebook h4 {
    font-size: 13pt;
    color: var(--text-dark);
    margin-bottom: 15px;
    border-bottom: 2px dashed #eedfff;
    padding-bottom: 5px;
}

.subject-scrap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subject-scrap-item {
    font-size: 9.5pt;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Badges estilo notas adhesivas pequeñas de colores del collage */
.scrap-badge {
    font-size: 8pt;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

.scrap-badge.falta {
    background: #ffcbd4;
    color: #a6243c;
    transform: rotate(2deg);
}

.scrap-badge.encurso {
    background: #cfe7ff;
    color: #1d538c;
    transform: rotate(-1deg);
}

.scrap-badge.aprobada {
    background: #c6f3d6;
    color: #1e6b37;
    transform: rotate(1deg);
}

/* --- SECCIÓN INSTITUCIONAL (Paneles de recortes kraft/lila) --- */
.inst-scrap-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .inst-scrap-layout {
        grid-template-columns: 1fr;
    }
}

.paper-panel {
    background: #f4eeff;
    color: var(--text-dark);
    padding: 25px;
    border-radius: 3px;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 1px solid #decfff;
}

.paper-panel h5 {
    font-family: "Inter", sans-serif;
    font-size: 13pt;
     color: var(--text-dark);
     font-weight: bolder;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.scrap-table {
    width: 100%;
    border-collapse: collapse;
}

.scrap-table td {
    padding: 8px 0;
    font-size: 9.5pt;
    border-bottom: 1px dashed rgba(40, 20, 70, 0.08);
}

.scrap-table td.label {
    font-weight: bold;
    color: #5c4e75;
    width: 110px;
}

.scrap-table td.value {
    font-weight: 600;
    color: #1a0f2e;
}

/* Nota adhesiva flotante para el Tema Elegido */
.sticky-note-theme {
    background: #ffffff;
    color: #4a3b00;
    padding: 20px;
    width: 100%;
    margin-top: 30px;
    box-shadow: 5px 8px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(-1deg);
}

.sticky-note-theme strong {
    font-size: 12pt;
    display: block;
    margin-bottom: 5px;
}

.sticky-note-theme p {
    font-size: 11pt;
}

.sticky-note-theme span {
    font-weight: regular;
}
.sticky-note-theme .etiqueta-negrita {
    font-weight: bold;
}

.etiqueta-titulo {
    font-family: "Inter", sans-serif;
    font-weight: bolder;
    background: #e9e0ff;
    color: var(--text-dark);
    display: inline-block;
    font-size: 28pt;             
    padding: 12px 32px;         
    transform: rotate(-1.5deg);
    box-shadow: 4px 4px 0px var(--lila-accent); 
    margin-top: 45px;
}

.contenedor-titulo-proceso {
    display: flex;
    justify-content: center;
    width: 100%;
}

.equipo-regular {
    font-family: "Nunito", sans-serif;
    font-weight: normal;
}

.equipo-negrita {
    font-family: "Nunito", sans-serif;
    font-weight: 900;
}

/* ==========================================================================
   SECCIÓN EQUIPO - TARJETAS ESTILO CREDENCIAL (BOCETO)
   ========================================================================== */

/* Contenedor para poner las 3 tarjetas en fila o una abajo de la otra en celular */
.contenedor-tarjetas-equipo {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 50px;
    width: 100%;
}

/* La tarjeta base con los bordes bien redondeados de tu boceto */
.tarjeta-estudiante {
    background: #ffffff;
    border: 2px solid #decfff; 
    border-radius: 24px;      
    padding: 25px 20px 20px 20px;
    width: 240px;             
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.3); 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

/* El recuadro de la foto (cuadrado perfecto interno) */
.tarjeta-estudiante .recuadro-foto {
    width: 100%;
    aspect-ratio: 1 / 1;       
    background: #fcfaff;       
    border: 2px solid var(--text-dark); 
    border-radius: 4px;       
    overflow: hidden;
    margin-bottom: 25px;       
}

.tarjeta-estudiante .recuadro-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;        
    display: block;
}

/* El nombre abajo con peso visual */
.tarjeta-estudiante .nombre-estudiante {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;          
    font-size: 14pt;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.2;
}

/* Dynamic Scrapbook: Rotamos cada tarjeta un cachito para lados distintos */
.tarjeta-estudiante.vicky {
    transform: rotate(-1.5deg);
}

.tarjeta-estudiante.juli-m {
    transform: rotate(2deg);
    border-top: 4px solid var(--lila-accent); 
}

/* Efecto sutil si ponés el mouse arriba (sin romper la maquetación) */
.tarjeta-estudiante:hover {
    transform: scale(1.03) rotate(0deg);
}

/* PROCESO */

.referencias {
    /* 1. Obliga al contenedor a ignorar la grilla de dos columnas y ocupar todo el renglón */
    grid-column: 1 / -1 !important;
    display: block !important;
    margin: 30px auto !important;
    margin-top: 50px;
    width: 100% !important;
    max-width: 600px !important;
 overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: 0 4px 20px rgba(27, 18, 43, 0.12) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}


.referencias img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: fill !important;
    border: none !important;
    margin-top: 50px;

}

/* FOOTER */
.footer-scrap {
    text-align: center;
    margin-top: 50px;
    font-size: 10pt;
    color: #a89bbd;
}