/*------------------------------------------------------*/
/*
/*  NOSOTROS
/*
/*------------------------------------------------------*/

/* ---------- HERO ---------- */

.nosotros .hero h1 {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 32px;
    letter-spacing: -0.02em;

    /* text cambio de fuente */
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.03em;
}

.nosotros .hero h3 {
    font-size: 1.8rem;
    line-height: 1.3em;
    letter-spacing: -0.01em;
    font-family: var(--font-titles);
}

.nosotros .eyebrow {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}


/* ---------- IMAGE ---------- */

.nosotros .hero-image {
    padding: 0;
}

.nosotros .hero-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* ---------- CAPABILITIES ---------- */

.nosotros .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.nosotros .grid-3 h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.nosotros .grid-3 ul {
    list-style: none;
}

.nosotros .grid-3 li {
    padding: .5rem 0;
    border-bottom: 1px solid #ddd;
}

/* ---------- PROCESS ---------- */
/*
.nosotros .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.nosotros .steps span {
    display: block;
    margin-bottom: 2rem;
    opacity: .4;
}

.nosotros .steps h3 {
    margin-bottom: 1rem;
}
*/
/* ---------- FOUNDER ---------- */

/* ESTILOS BASE (pantallas grandes) */
.nosotros .founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.nosotros .founder-grid .info {
    margin-left: auto;
    width: 80%;
    margin-top: 50%;
}

.nosotros .founder-grid figure {
    height: 60vh;
}

.nosotros .founder-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nosotros .role {
    margin: 1rem 0 3rem;
    opacity: .5;
}

/* RESPONSIVE - MÓVILES */
@media (max-width: 900px) {
    .nosotros .founder-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nosotros .founder-grid figure {
        height: 400px;
        max-width: 100%;
        order: -1; /* La imagen arriba */
    }

    .nosotros .founder-grid .info {
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-top: 0;
    }

    .nosotros .founder-grid img {
        height: 100%;
    }
}


/* ---------- CTA ---------- */

.nosotros .cta .container {
    display: block;
}

.nosotros .cta h2 {
    max-width: 100%;
    margin-bottom: 3rem;
}



/* ---------- MOBILE ---------- */

@media (max-width: 900px) {
    .nosotros .grid-3,
    .nosotros .steps,
    .nosotros .founder-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width:1000px) {
    .nosotros .hero h3 {
        font-size: 1rem;
    }
}




/* ---------------------------------
 Carrusel Gallery
---------------------------------- */
.studio-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    align-items: center; /* 👈 CLAVE */

    animation: scrollGallery 40s linear infinite;
}

.gallery-item {
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Vertical */
.gallery-item.portrait {
    width: 300px;
    height: 400px;
}

/* Horizontal */
.gallery-item.landscape {
    width: 400px;
    height: 300px;
}

@keyframes scrollGallery {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}



/*
.gallery-track:hover {
    animation-play-state: paused;
} */

@media (max-width: 768px) {

    .gallery-item.portrait {
        width: 180px;
        height: 270px;
    }

    .gallery-item.landscape {
        width: 360px;
        height: 270px;
    }
}
/*
gsap.to(".gallery-track", {
    xPercent: -20,
    ease: "none",
    scrollTrigger: {
        trigger: ".studio-gallery",
        start: "top bottom",
        end: "bottom top",
        scrub: 1
    }
});
*/
.process .container {
    display: flex;
    align-items: flex-start; /* Ambos hijos arriba */
    flex-direction: row;
    gap: 40px;
}

.process h2 {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.03em;

    /* COLUMNA IZQUIERDA */
    width: 30%;
    flex-shrink: 0;

    /* STICKY */
    position: sticky;
    top: 100px; /* Ajusta según la altura de tu header */
}

.process .steps {
    /* COLUMNA DERECHA */
    /* flex: 1; */
    width: 50%;
    max-width: 600px;
     margin-left: auto; 
    /* margin-right: auto; */

    display: flex;
    flex-direction: column;

    & article {
        display: flex;
        align-items: center; 
        border-bottom: 1px solid #d4d4d4;
        padding: 25px 0;
        padding-right: 10%;
    }

    & article > div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    & h3 {
        font-size: 1.5rem;
        margin: 0;
        line-height: 1.2;
    }

    & p {
        margin: 0;
        font-size: 0.9rem;
    }

    & .number {
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--color-brand);
        margin: 0 60px 0 10px;
        text-align: right;
        line-height: 1;
    }
}



/* RESPONSIVE - MÓVILES */
@media (max-width: 768px) {
    .process .container {
        flex-direction: column;
        gap: 30px;
    }

    .process h2 {
        width: 100%;
        position: relative;
        top: 0;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .process .steps {
        width: 100%;
        margin-left: 0;
    }

    .process .steps article {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        padding-right: 0;
    }

    .process .steps .number {
        margin: 0 0 15px 0;
        text-align: left;
        font-size: 1rem;
    }

    .process .steps h3 {
        font-size: 1.3rem;
    }

    .process .steps p {
        font-size: 0.9rem;
    }
}
