/*GENERALES*/


/*tipografia*/
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


h2 {
    font-size: 158px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 121px;
    letter-spacing: -5px;
    color: black;
    padding-top: 30px;
}

p {
    font-size: 25px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding-top: 20px;
}

/* Estado inicial (oculto) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* Estado visible */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}




/*NAV*/
nav img {
    height: 50px;
    width: 70px;
}

nav {
    top: 5px;
}

nav a {
    color: black;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

nav a:hover {
    font-weight: 500;
    transform: scale(1.1);
    transition: all 0.1s ease;
}

.nav-link.active {
    font-weight: bold;
}

/*PRESENTACION*/
.presentacion {
    padding: 50px 0;
}

.presentacion h2 {
    text-align: left;

}

.presentacion p {
    text-align: center;
}

.boton {
    font-size: 20px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 7px 20px;
    border: 2px solid black;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.boton:hover {
    background: black;
    color: white;
    transform: scale(1.05);
}

.contenedor-boton {
    text-align: center;
}



/*PROYECTOS*/

.proyectos h2 {
    text-align: right;
}

.proyecto-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.proyecto-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.hover-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.proyecto-item:hover img {
    transform: scale(1.05);
    filter: brightness(80%);
}

.proyecto-item:hover .hover-text {
    opacity: 1;
}


/*METODOLOGIA*/
.metodologia {
    padding-top: 50px;
}

.metodologia h2 {
    text-align: left;
}

/*SCROLL HORIZONTAL*/
.metodologia-scroll {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.metodologia-scroll::-webkit-scrollbar {
    height: 25px;
}

.metodologia-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.proceso-item {
    width: 400px;
    min-width: 400px;
    text-align: center;
    scroll-snap-align: center;
    padding: 10px;
}

.proceso-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.proceso-item h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.proceso-item p {
    font-size: 20px;
    color: #555;
    max-width: 300px;
    margin: 0 auto;
}


/*PAGINA PROYECTOS*/

.panel-proyectos h2 {
    text-align: center;
}

.panel-proyectos p {
    text-align: center;
}

.panel-proyectos {
    padding: 30px;
}

/*GALERIA*/

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 10px;
    gap: 0;
}

.galeria-item {
    position: relative;
    overflow: hidden;
}

.galeria-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s ease, filter .3s ease;
}

.hover-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.galeria-item:hover img {
    transform: scale(1.05);
    filter: brightness(80%);
}

.galeria-item:hover .hover-text {
    opacity: 1;
}

/*PROYECTO BODEGA*/

.informacion h2 {
    text-align: center;
    padding-top: 10px;
}

.informacion p {
    text-align: center;
    padding-top: 10px;
}

.galeria-proyecto p {
    text-align: center;
    padding-top: 10px;

}

.texto1 p {
    text-align: left;
}

.texto2 p {
    text-align: right;
}

/* CONTENEDOR DE TAGS */
.proyecto-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 13px;
}

.proyecto-tags span {
    padding: 6px 18px;
    border: 2px solid #000000;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    background-color: #fff;
}

.galeria-proyecto {
    padding: 10px 0;
}

.galeria-proyecto img {
    width: 100%;
    height: auto;
    /* proporción */
    display: block;
}

/* CONTENEDOR DE NAVEGACIÓN */
.navegacion-proyecto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
}

.navegacion-proyecto .boton {
    margin: 30px;
}







/*PAGINA SOBRE MI*/

.conoceme h2 {
    text-align: center;
}

.conoceme p {
    text-align: left;
    margin: 0;
}

.conoceme img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sobre-mi p {
    padding-top: 0;
}



/*MALO*/
.instagram-malo {
    padding-top: 10px;
}
/*SLIDER POSTERS*/
.poster-slider {
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Contenedor que se mueve */
.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-posters 25s linear infinite;
}

/* Card */
.poster-card {
    flex: 0 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.poster-card img {
    display: block;
    max-height: 420px;
    /* controla solo el alto máximo */
    width: auto;
    height: auto;
    object-fit: contain;
}

.poster-card:hover {
    transform: scale(1.05);
}

/* Animación automática */
@keyframes scroll-posters {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*Pausa al pasar mouse*/
.poster-slider:hover .slider-track {
    animation-play-state: paused;
}

/*SLIDER EN DIRECCIÓN CONTRARIA*/
.poster-slider.reverse .slider-track {
    animation-direction: reverse;
}

/*TRABAJANDO*/
.marquee-inner span {
    color: transparent;
    -webkit-text-stroke: 2px black;
}

.parent {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  justify-content: center;
}

/* ITEM */
.item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*TRABAJANDO*/
.trabajando .col {
    padding-left: 10px;
    padding-right: 10px;
}

.trabajando img {
    max-width: 650px; /* antes 520px */
    width: 100%;
    height: auto;
}

.trabajando .col:last-child {
    margin-left: -40px;
}

.trabajando p {
    text-align: center;
}

/*FOOTER*/
.aviso {
    font-size: 13px;
}

.trabajemos {
    padding-top: 50px;
}

.boton-contacto {
    display: block;
    width: fit-content;
    font-size: 25px;
    margin: 0 auto;
    padding: 5px 20px;
    border: 2px solid black;
    border-radius: 20px;
    text-decoration: none;
    color: black;
}

.boton-contacto:hover {
    background: black;
    color: white;
    transform: scale(1.05);
}

.correo-box {
    padding: 10px;
}

.boton-correo {
    display: block;
    width: fit-content;
    font-size: 21px;
    margin: 0 auto;
    padding: 5px 20px;
    border: 2px solid black;
    border-radius: 20px;
    text-decoration: none;
    color: black;   
}

.boton-correo:hover {
    background: black;
    color: white;
    transform: scale(1.05);
}

.descripcion {
    text-align: center;
    font-size: 23px;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 20px 0;
}

.marquee-inner {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
}

.marquee-inner span {
    font-size: 80px;
    margin-right: 40px;
    display: inline-block;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: black;
}

.logo-box img {
    height: 50px;
    width: 70px;

}

.enlace-item {
    display: block;
    width: 100%;
    padding: 15px 0;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: color .3s ease;
}

.enlace-item:hover {
    background: #000;
    color: #fff;
    border-radius: 10px;
}

.linea-divisora {
    height: 2px;
    background-color: #000;
    margin: 10px auto;
    width: 100%;
}

.enlace-item-aviso {
    display: block;
    width: 100%;
    padding: 15px 0;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: color .3s ease;
}




@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1200px) {
    h2 {
        line-height: 92px;
        font-size: 120px
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 96px;
        line-height: 75px;
    }

    p {
        font-size: 20px;
    }

    .boton {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 67px;
        line-height: 52px;
        letter-spacing: -2px;
    }

    p {
        padding-top: 10px;
        font-size: 15px;
    }

    .proceso-item {
        width: 280px;
        min-width: 280px;
        padding: 5px;
    }

    .proceso-img {
        width: 140px;
        height: 140px;
        margin-bottom: 15px;
    }

    .proceso-item h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .proceso-item p {
        font-size: 16px;
        max-width: 240px;
    }

    .boton {
        font-size: 13px;
    }

    .conoceme p {
        text-align: left;

    }

    .trabajando img {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .trabajando .col:last-child {
        margin-left: 0;
    }

    /*footer*/


    .trabajemos {
        padding-top: 30px;
    }

    .trabajemos a {
        font-size: 11px;
        padding: 4px 0;
        border-width: 2px;
    }
    .trabajemos .correo-box .boton-correo {
        font-size: 13px;
        padding: 8px 14px;
        border-width: 2px;
        border-radius: 15px;
    }

    .descripcion {
        font-size: 12px;
    }

    .marquee-inner span {
        font-size: 55px;
        margin-right: 25px;
    }

    .logo-box img {
        height: 40px;
        width: 55px;
    }

    .navegacion-proyecto {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .slider-track {
        gap: 20px;
    }

    .poster-card img {
        max-height: 300px;
    }

    nav img {
        height: 40px;
        width: 60px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 54px;
        line-height: 54px;
        letter-spacing: -1px;
    }

    p {
        font-size: 10px;
        padding-top: 4px;
    }

    .boton {
        font-size: 10px;
    }

    .proyecto-tags span {
        font-size: 10px;
    }

    nav img {
        height: 40px;
        width: 60px;
    }
}

@media (max-width: 414px) {
    h2 {
        font-size: 47px;
        line-height: 40px;
        letter-spacing: -1px;
    }

    p {
        font-size: 10px;
        padding-top: 1px;
    }

    .boton {
        font-size: 8px;
    }

}

@media (max-width: 320px) {
    h2 {
        font-size: 35px;
        line-height: 31px;
        letter-spacing: -1px;
    }

    p {
        font-size: 10px;
    }

    .boton {
        font-size: 7px;
    }
}