* {
    margin: 0;
    padding: 0;
    user-select: none;
}

p {
    margin: 0;
}

html body {
    height: 100%;
    overflow: hidden;
    overflow-x: hidden; 
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Montserrat;
}

.noise__overlay {
    z-index: 2147483647;
    opacity: .05;
    background-image: url(../img/noise.BVZAnKJ_.gif);
    background-position: 0 0;
    background-size: 480px;
    background-attachment: fixed;
    position: fixed;
    inset: 0;
    pointer-events: none;
    box-shadow: 0px 0px 80px 30px rgba(0, 0, 0, 0.43) inset;
}

.fondo {
    display: inline-flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    background: #F3F3F3;
    /* box-shadow: 0px 0px 80px 30px rgba(0, 0, 0, 0.43) inset;  */
    overflow: hidden;
    position: fixed;
    /* Base para elementos absolutos */
}

.contein_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;

}

.group1 {
    color: #EDEDED;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
}

.group1 p {
    animation: animLeft 20s linear infinite;
}

@keyframes animLeft {
    from {
        transform: translateX(0%)
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes animRight {
    from {
        transform: translateX(-50%)
    }

    to {
        transform: translateX(0%);
    }
}

.group2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    animation: animRight 40s linear infinite;
    /* Evita el salto de línea */
}

.group2 .text1 {
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #E7E7E7;
    color: rgba(217, 217, 217, 0.00);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group2 .text2 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group3 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animLeft 40s linear infinite;
}

.group3 .text1 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group3 .text2 {
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #E7E7E7;
    color: rgba(217, 217, 217, 0.00);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group4 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animRight 40s linear infinite;
}

.group4 .text1 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group4 .text2 {
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #E7E7E7;
    color: rgba(217, 217, 217, 0.00);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group5 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animLeft 40s linear infinite;
}

.group5 .text1 {
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #E7E7E7;
    color: rgba(217, 217, 217, 0.00);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group5 .text2 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group6 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animRight 40s linear infinite;
}

.group6 .text1 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;

}

.group6 .text2 {
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #E7E7E7;
    color: rgba(217, 217, 217, 0.00);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group7 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animLeft 40s linear infinite;
}

.group7 .text1 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group8 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animRight 40s linear infinite;
}

.group8 .text1 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group8 .text2 {
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #E7E7E7;
    color: rgba(217, 217, 217, 0.00);
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.group9 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    white-space: nowrap;
    /* Evita el salto de línea */
    animation: animLeft 40s linear infinite;
}

.group9 .text1 {
    color: #EDEDED;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(40px, 4vw + 1rem, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

/* seccion container */
.container {
    display: flex;
    /* height: 1022px; */
    padding: 80px 0 0;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    align-self: stretch;
    position: absolute;
    /* Se superpone sobre fondo */
    top: 0;
    left: 0;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    /* overflow: hidden; */
}

header {
    position: fixed;
    top: 95px;
    right: 0;
    left: 0;
    z-index: 3;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    padding: 0px 90px 0px 90px;
}

.nav .logo img {
    width: auto;
    height: 60px;
    aspect-ratio: 121.65/80.00;
}

.logo {
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.nav .contein_menu {
    display: flex;
    padding: 10px 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: black;
}

.contein_menu:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}


.nav .contein_menu .menu {
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    fill: white;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    align-self: stretch;
}

.info .info_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.info .info_text .hola {
    color: #000;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    font-family: Montserrat;
    font-size: clamp(32px, 4vw + 1rem, 64px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.info .info_text .info_soy {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.info .info_text .info_soy .elvis {
    color: #000;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    font-family: Montserrat;
    font-size: clamp(30px, 4vw + 1rem, 64px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.elvis,
.valle {
    display: inline-block;
    /* Evita que el texto sea seleccionable */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto al pasar el cursor */
.elvis:hover,
.valle:hover {
    color: #fff;
    text-shadow: 0 0 10px #6b6b6b, 0 0 20px #6d6d6d;
}

.info .info_text .info_soy .valle {
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(30px, 4vw + 1rem, 64px);
    font-style: italic;
    font-weight: 900;
    line-height: normal;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000;
    color: white;
}

.info .info_presen {
    color: #3F3E40;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    font-family: Montserrat;
    font-size: clamp(16px, 4vw + 1rem, 24px);
    font-style: italic;
    font-weight: 400;
    line-height: normal;
}

.info .butons_info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    align-self: stretch;
    flex-wrap: wrap;
}

.mas_info {
    display: flex;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: black;
    text-decoration: none;
    transition: background 0.3s;
}

.mas_info:hover {
    background: rgb(95, 95, 95);
}

.mas_info:hover img {
    transform: translateX(5px);
}

.info .butons_info .mas_info img {
    width: 20px;
    height: 18px;
    fill: white;
}

.mas_info p {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(16px, 4vw + 1rem, 20px);
    font-style: italic;
    font-weight: 800;
    line-height: normal;
}

/* Estilos de entrada sobre_me */
.info_me {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    flex: 1 0 0;
    align-self: stretch;
}

.info_me .acerca {
    display: flex;
    padding-left: 100px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex: 1 0 0;
    align-self: stretch;
}

.info_me .acerca .titulo1 {
    color: #000;
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    font-family: Montserrat;
    font-size: clamp(24px, 3vw + 0.5rem, 32px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.info_me .acerca .rectangulo {
    height: 5px;
    align-self: stretch;
    background: #D9D9D9;
}

.info_resumen {
    display: flex;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: black;
}

.info_resumen p {

    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: clamp(16px, 3vw + 0.5rem, 20px);
    font-style: italic;
    font-weight: 800;
    line-height: normal;

}

.info_me .acerca .parrafo1 {
    color: #000;
    text-align: justify;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.info_me .imagen_me img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 30px 0 0 0;
}

/* estilos de entrada proyectos */
.proyectos-me {
    display: flex;
    flex-direction: row;
    height: 100vh;
    align-self: stretch;
}

.proyecto-left {
    position: relative;
    width: 50%;
    height: 100%;
    padding-right: 10px;
}

.proyecto-left-inside {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.proyecto-left-inside .proyecto-imagen {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
    visibility: hidden;
}

.proyecto-left-inside .proyecto-imagen .proyecto-imagen-escala {
    position: relative;
    width: 100%;
    height: 100%;
}

.proyecto-right {
    padding: 0 90px 0 24px;
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
}

.page-head {
    display: flex;
    align-items: baseline;
}

.page-head .page-title {
    width: 100%;
    text-align: left;
    margin: 0;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.page-head .page-number {
    font-family: studiofeixen-writer, studiofeixen, Arial, Helvetica, sans-serif;
    letter-spacing: -.1em;
}

.head-separador {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 0;
    border-top: 3px solid #1b1b1b;
}

.proyecto-right ul {
    overflow-y: auto;
    height: 100%;
    scrollbar-width: none;
}

.proyecto-right ul .proyects-row {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 2px solid #606887;
}

.proyecto-right ul .proyects-row-left {
    display: flex;
    align-items: center;
    width: 100%;
    text-overflow: ellipsis;
}

.projects-right ul .projects-row-left .projects-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

@media(max-width: 1400px) {
    .container {
        gap: 25px;
    }

    .imagen_me {
        width: 40%;
    }
}

@media (max-width: 767px) {

    html,
    body {
        overflow: auto;
        /* Permite el scroll en móviles */
        overflow-x: hidden; 
    }

    .fondo {
        display: inline-flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: #F3F3F3;
        overflow: hidden;
        position: relative;
        height: 100vh;
        position: fixed;
    }

    .container {
        display: flex;
        padding: 20px 15px;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        flex: 1 0 0;
        align-self: stretch;
    }

    .info {
        padding-top: 70px;
    }

    .info .butons_info {
        gap: 20px;
    }

    .container .nav {
        padding: 0 15px;
    }

    .container .nav .logo img {
        width: 76.032px;
        height: 50px;
        aspect-ratio: 76.03 / 50.00;
    }

    .info .info_presen {
        font-size: 16px;
    }

    .info .butons_info .mas_info p {
        font-size: 16px;
    }

    .info_me {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        flex: 1 0 0;
        align-self: stretch;
        flex-direction: column-reverse;
        padding-bottom: 30px;
    }

    .info_me .imagen_me {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .info_me .imagen_me img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 30px;
    }

    .info_me .acerca {
        display: flex;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        flex: 1 0 0;
        align-self: stretch;
    }
}

@media (max-width: 992px) {
    .container {
        display: flex;
        align-items: center;
    }
}



/* Desktop / laptop */



/* estilos de proyecto kuntur */
main.project-showcase {
    position: relative;
    z-index: 2;
    /* sobre el fondo */
    height: 100vh;
    /* alto visible */
    overflow-y: auto;
    /* scroll solo en el main */
    scroll-behavior: smooth;
}

.project-showcase {
    overflow: hidden;
    font-family: Montserrat, -apple-system, Roboto, Helvetica, sans-serif;
    color: rgba(0, 0, 0, 1);
    min-height: 100vh;
}

.content-wrapper {
    width: 100%;
    flex: 1;
}

@media (max-width: 991px) {
    .content-wrapper {
        max-width: 100%;
    }
}

.container-kuntur {
    display: flex;
    align-items: stretch;
    gap: 40px 50px;
    flex: 1;
    height: 100%;
    padding: 0 240px;
}

@media (max-width: 991px) {
    .container-kuntur {
        max-width: 100%;
        padding: 0 20px;
    }
}

.project-content {
    min-width: 240px;
    width: 100%;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 0%;
}

@media (max-width: 991px) {
    .project-content {
        max-width: 100%;
    }
}

.content-hero-image-header {
    height: 550px;
}

.hero-image-header {
    /*aspect-ratio: 2.32;*/
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0px 0px 70px 70px;
    will-change: transform;
}

.content-hero-image {
    height: 30%;
    width: 100%;
}

.hero-image {
    /*aspect-ratio: 2.32;*/
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0px 0px 70px 70px;
}

@media (max-width: 991px) {
    .hero-image {
        max-width: 100%;
    }
}

.project-details {
    margin-top: 15px;
    width: 100%;
}

@media (max-width: 1400px) {
    .project-details {
        max-width: 100%;
    }

    .content-hero-image-header {
        height: 400px;
    }
}

.project-header {
    display: flex;
    width: 100%;
    align-items: center;
    font-size: 40px;
    font-weight: 800;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .project-header {
        max-width: 100%;
    }
}

.project-title {
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    align-self: stretch;
    color: #41180D;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    margin: auto 0;
    font-size: inherit;
    font-weight: inherit;
}

@media (max-width: 991px) {
    .project-title {
        max-width: 100%;
    }
}

.divider {
    background-color: rgba(217, 217, 217, 1);
    display: flex;
    min-height: 3px;
    margin-top: 15px;
    width: 100%;
}

@media (max-width: 991px) {
    .divider {
        max-width: 100%;
    }
}

.project-info {
    display: flex;
    margin-top: 15px;
    width: 100%;
    align-items: stretch;
    gap: 40px 50px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .project-info {
        max-width: 100%;
    }
}

.metadata-section {
    display: flex;
    flex-direction: column;
    min-width: 240px;
    align-items: start;
    gap: 30px;
    font-size: 20px;
    text-align: center;
    justify-content: start;
    height: 100%;
}

.metadata-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    /* columna izquierda fija, derecha flexible */
    align-items: center;
    gap: 1rem;
}

.metadata-label {
    display: flex;
    align-items: start;
    font-weight: 700;
    color: #41180D;
    margin: 0;
}

.metadata-value {
    margin: 0;
    color: #333;
    word-break: break-word;
    text-align: start;
}

@media (max-width: 1400px) {
    .metadata-label {
        white-space: initial;
    }

    .metadata-value .salto {
        display: inline;
    }
}

@media (max-width: 767px) {
    .metadata-item {
        grid-template-columns: 120px 1fr;
        display: grid;
        align-items: flex-start;
    }

    .metadata-section {
        font-size: 18px;
        gap: 10px;
    }

    .project-header {
        font-size: 28px;
    }

}


.project-description {
    font-size: 18px;
    font-weight: 400;
    align-self: start;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .project-description {
        max-width: 100%;
    }
}

.brand-guidelines {
    display: flex;
    margin-top: 30px;
    width: 100%;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    justify-content: space-between;
    color: #41180D;
}

@media (max-width: 991px) {
    .brand-guidelines {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .brand-guidelines {
        font-size: 20px;
    }
}

.section-title {
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.25);
    align-self: stretch;
    flex: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    margin: auto 0;
    font-size: inherit;
    font-weight: inherit;
}

@media (max-width: 991px) {
    .section-title {
        max-width: 100%;
    }
}

.brand-image {
    object-fit: cover;
    object-position: center;
    width: 100%;
    margin-top: 15px;
}

@media (max-width: 991px) {
    .brand-image {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .brand-image {
        min-height: auto;
    }
}

/*estilos de proyectos moviles*/
@media (max-width: 767px) {
    .content-hero-image-header {
        height: 300px;
        padding: 80px 0 0 0;
    }

    .hero-image-header {
        border-radius: 30px;
    }

    header {
        top: 15px;
        z-index: 3;
    }

    .nav {
        padding: 0 19px 0 24px;
    }

    .nav .logo img {
        width: auto;
        height: 45px;
    }

    .nav .contein_menu {
        padding: 8px 12px;

    }

    .nav .contein_menu-btn {
        width: 25px;
        height: 25px;
    }

    .nav .contein_menu .menu-btn img {
        width: 25px;
        height: auto;

    }


}

/* ====== MENU OVERLAY ====== */
:root {
    --menu-bg: #383838;
    --menu-ink: #e6e6ea;
    --menu-muted: #bdbdc2;
    --menu-line: #4b4d55;
}

.menu-btn {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--menu-bg);
    color: var(--menu-ink);
    transform: scale(1.1);
    opacity: 0;
    filter: blur(8px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.menu-overlay.open {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
}

.menu-wrap {
    margin: 0 auto;
    padding: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat'
}

.menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-right: 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: auto;
    height: 40px;
}

.brand-name {
    font-weight: 500;
    letter-spacing: .3px;
    font-size: 24px;
}

.menu-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill {
    font-size: 13px;
    color: var(--menu-muted);
    border: 1px solid var(--menu-line);
    padding: 6px 10px;
    border-radius: 999px;
}

.icon img {
    width: 30px;
    height: 30px;
}

.icon:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.menu-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
}

.row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    padding: 12px 0;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.idx {
    width: 44px;
    color: var(--menu-muted);
    font-size: 14px;
}

.link {
    font-size: clamp(42px, 8vw, 92px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.row:hover .link {
    opacity: .95;
    transform: translateX(6px);
    transition: .2s;
}

.row:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff 40%, transparent);
    opacity: .25;
}

.menu-social {
    display: flex;
    gap: 18px;
    padding-top: 20px;
}

.menu-social a {
    color: var(--menu-muted);
    font-weight: 600;
    text-decoration: none;
}

.menu-social a:hover {
    color: var(--menu-ink);
}

/* Bloquear scroll cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
}

/* Responsive */


@media (max-width: 1400px) {
    .menu-overlay.open {
        padding: 0;
    }

    .menu-wrap {
        padding: 50px 40px;
    }

    .row {
        padding: 0;
    }


}

@media (max-width:720px) {
    .menu-wrap {
        padding: 40px 20px;
    }

    .idx {
        width: 38px;
    }

    .row {
        padding: 12px 0;
    }

    .link {
        font-size: clamp(36px, 12vw, 70px);
    }
}


/* estilos entrada de todos proyectos */

.wrap {
    padding: 28px 0px 0px;
    height: 100%;
    width: 100%;
}

/* LAYOUT: preview left + list right */
.layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
    height: 100%;
    width: 100%;
    margin-right: 60px;
}

@media (max-width:1024px) {
    .layout {
        grid-template-columns: 1fr
    }
}

/* --- FIX PREVIEW LAYOUT JUMP --- */
.preview {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 100%;
    min-width: 50%;
    /* evita el cambio de ancho inicial */
    transition: none !important;
}

.preview .hero {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
    border-radius: 0 30px 0 0;
}

/* cuando la imagen se hace visible */
.preview .hero img[style*="opacity: 1"] {
    visibility: visible;
    transform: scale(1);
}


.hero-title {
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-weight: 800;
    font-size: clamp(18px, 2.4vw, 24px);
    text-shadow: 0 2px 20px rgba(0, 0, 0, .45)
}

.hero-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--ink);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}



/* RIGHT LIST */
.list {
    padding: 6px 50px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--ink);
}

.list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.work-title {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: .8px;
    font-weight: 800;
    color: var(--brand)
}

.work-count {
    opacity: .85
}

.items {
    font-size: 20px;
    padding-top: 20px;
    max-height: calc(7 * 70px);
    /* altura estimada para 5 proyectos */
    overflow-y: scroll;
    /* permite el desplazamiento vertical */
    scrollbar-width: none;
    /* oculta el scroll en Firefox */
}

/* Scroll estilizado (para Chrome, Edge, Safari) */
.items::-webkit-scrollbar {
    width: 6px;
    display: none;
}

.items::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
}

.items::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

@media (max-width: 1400px) {
    .items {
        max-height: calc(5 * 60px);
    }
}
@media (max-width: 760px) {
    .items {
        max-height: calc(7 * 70px);
    }
}

.item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid rgba(217, 217, 217, 1);
    position: relative;
    cursor: pointer;
    margin-bottom: 25px;
    padding: 5px 0;
}

.item-name {
    font-weight: 700;
    letter-spacing: .2px
}

.item-cat {
    color: var(--muted);
    font-size: 14px
}

.item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff 40%, transparent);
    opacity: 0;
    transition: .25s
}

.item:hover::before {
    opacity: .25
}

.item:hover .item-name {
    transform: translateX(6px)
}

.item .arrow {
    opacity: 0;
    transition: .2s;
    margin-right: 6px;
}

.item:hover .arrow {
    opacity: 1;
    font-weight: 900;
    color: #41180D;
    transform: translateX(6px)
}

/* Active row */
.item.active {
    background: rgba(255, 255, 255, .03)
}

/* MOBILE: stack list first then preview */
@media (max-width:1024px) {
    .preview {
        position: relative;
        top: auto
    }
}

@media (max-width:720px) {
    .preview {
        display: none;
    }

    .wrap {
        padding: 0;
    }

    .layout {
        margin: 0;
    }

    .list {
        padding: 0 20px;
    }

    .arrow {
        display: none;
    }

}