/* --- LAYOUT DE PROYECTO A ANCHO COMPLETO --- 
*/

/* --- RESETEO DE SCROLL PARA VISTA FULL-WIDTH --- */
html,
body {
    height: auto !important;
    /* Permite que la altura crezca con el contenido */
    overflow: visible !important;
    /* Habilita el scroll global */
    overflow-x: hidden !important;
    /* Evita desplazamientos laterales */
}

html {
    scroll-behavior: smooth;
}

/* --- LAYOUT DE PROYECTO A ANCHO COMPLETO --- */
.full-screen-project {
    width: 100%;
    min-height: 100vh;
    display: block;
    /* Asegura que las secciones se apilen verticalmente */
    background-color: var(--surface);
    padding-bottom: 150px;
}


.full-screen-project {
    width: 100%;
    min-height: 100vh;
    background-color: var(--surface);
    padding-bottom: 150px;
    /* Aire para el ticker */
}

/* 1. Header (Navegación + Título Principal) */
.project-header {
    padding: 10vh 8vw;
    /* Usamos viewport width para escalar */
    border-bottom: 1px solid var(--line);
}

.back-home-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.back-home-link:hover {
    color: var(--accent);
}

.project-main-title {
    /* MÁXIMO TAMAÑO: clamp(mínimo, flexible, máximo) */
    font-size: clamp(3rem, 10vw, 9rem);
    line-height: 0.85;
    font-weight: 600;
    letter-spacing: -0.05em;
    margin-top: 30px;
    color: var(--text-main);
}

/* 2. Cuerpo Técnico (Contenido Centralizado) */
.project-technical-body {
    padding: 10vh 8vw;
    display: flex;
    flex-direction: column;
    gap: 80px;
    /* Mucho aire entre secciones */
}

.technical-info-block {
    max-width: 1000px;
    /* Centralizamos el texto para lectura */
}

.technical-info-label {
    display: block;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.technical-info-block h2 {
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 20px;
}

.technical-info-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Grid de Tags Técnicos */
.technical-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.technical-tech-tag {
    padding: 10px 25px;
    border: 1px solid var(--line);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {

    .project-header,
    .project-technical-body {
        padding: 8vh 24px;
    }

    .technical-info-block h2 {
        font-size: 2.2rem;
    }
}