/* Proyectos Header */

.proyectos-header-container {
    padding: 220px 40px 0 40px;
    background-color: #0F0F0F;
}

.proyectos-header {
    max-width: 1750px;
    width: 100%;
    margin: auto;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}

.proyectos-header-title > h1 {
    max-width: 712px;
    color: #FFF;
    font-size: 120px;
    font-weight: 700;
    line-height: 100px;
    letter-spacing: -8.4px;
}

.proyectos-header-tags {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: end;
}

.proyectos-header-tags > div {
    width: fit-content;
    border-radius: 37px;
    border: 2px solid white;
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.5px;
    padding: 4px 12px;
}

@media (max-width: 1400px) {
    .proyectos-header-container {
        padding: 154px 40px 0 40px;
    }

    .proyectos-header-title > h1 {
        max-width: 500px;
        font-size: 84px;
        line-height: 70px;
        letter-spacing: -6px;
    }

    .proyectos-header-tags > div {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .proyectos-header-container {
        padding: 154px 20px 0 20px;
    }

    .proyectos-header-title > h1 {
        max-width: none;
        font-size: 66px;
        line-height: 1;
    }

    .proyectos-header {
        flex-direction: column;
    }

    .proyectos-header-tags, .proyectos-header {
        align-items: baseline;
    }
}


/* Proyectos Video */

.proyectos-video-container {
    padding: 220px 40px 0 40px;
    background-color: #0F0F0F;
}

.proyectos-video {
    max-width: 1750px;
    width: 100%;
    margin: auto;
    aspect-ratio: 16 / 9;
}

.proyectos-video > video, .proyectos-video > img {
    width: 100%;
}

.proyectos-video > iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

@media (max-width: 1400px) {
    .proyectos-video-container {
        padding: 154px 40px 0 40px;
    }
}

@media (max-width: 900px) {
    .proyectos-video-container {
        padding: 140px 0 0 0;
        background-color: #0F0F0F;
    }
}

/* Proyectos Intro */

.proyectos-intro-container {
    padding: 220px 40px 0 40px;
    background-color: #0F0F0F;
}

.proyectos-intro {
    max-width: 1750px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.proyectos-intro > span {
    color: #FFF;
    font-size: 64px;
    font-weight: 700;
    line-height: 66px;
    letter-spacing: -2px;
}

.proyectos-intro > img {
    width: 60px;
    align-self: end;
}

@media (max-width: 1400px) {
    .proyectos-intro-container {
        padding: 154px 40px 0 40px;
        background-color: #0F0F0F;
    }

    .proyectos-intro > span {
        font-size: 46px;
        line-height: 1;
        letter-spacing: -1px;
    }

    .proyectos-intro > img {
        width: 42px;
    }
}

@media (max-width: 900px) {
    .proyectos-intro-container {
        padding: 180px 20px 0 20px;
        background-color: #0F0F0F;
    }

    .proyectos-intro > img {
        display: none;
    }

    .proyectos-intro > span {
        font-size: 33px;
        line-height: 1;
        letter-spacing: -2px;
    }
}


/* Proyectos Single */

.proyectos-single-container {
    padding: 220px 40px 0 40px;
    background-color: #0F0F0F;
}

.proyectos-single {
    max-width: 1750px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 220px;
}

.proyectos-single-image {
    width: 100%;
    aspect-ratio: 17 / 7;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.proyectos-single-image > img, .proyectos-single-image > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyectos-double-image {
    display: flex;
    gap: 20px;
    aspect-ratio: 2 / 1;
}

.proyectos-double-image > img {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.proyectos-single-text {
    width: 100%;
    display: flex;
    gap: 70px;
}

.proyectos-single-text > div:first-of-type {
    width: 35%;
    color: #FFF;
    font-size: 50px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -2.5px;
}

.proyectos-single-text > div:last-of-type {
    width: 65%;
    color: #FFF;
    font-size: 32px;
    font-weight: 500;
    line-height: 37px;
    letter-spacing: -0.6px;
}

@media (max-width: 1400px) {
    .proyectos-single-container {
        padding: 154px 40px 0 40px;
    }

    .proyectos-single-text > div:first-of-type {
        font-size: 35px;
        letter-spacing: -1.7px;
        line-height: 1.2;
    }

    .proyectos-single-text > div:last-of-type {
        font-size: 22px;
        letter-spacing: -0.4px;
        line-height: 1.3;
    }

    .proyectos-single {
        gap: 154px;
    }
}

@media (max-width: 900px) {
    .proyectos-single-container {
        padding: 154px 20px 0 20px;
    }

    .proyectos-single-text {
        flex-direction: column;
        gap: 50px;
    }

    .proyectos-single-text > div:first-of-type, .proyectos-single-text > div:last-of-type {
        width: 100%;
        line-height: 1;
    }

    .responsive-no-padding {
        padding: 154px 0 0 0;
    }

    .responsive-no-padding .proyectos-single-text {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .responsive-no-padding .proyectos-single-image {
        aspect-ratio: 17 / 21;
    }

    .proyectos-double-image {
        flex-direction: column;
        aspect-ratio: 2 / 4;
    }

    .proyectos-double-image > img {
        width: 100%;
    }

    .proyectos-single-image {
        aspect-ratio: 1 / 1;
    }
}


/* Proyecto Titular */

.proyectos-titular-container {
    padding: 220px 0 0 0;
    width: 100%;
    background-color: #0F0F0F;
}

.proyectos-titular-container .proyectos-single-text {
    padding: 0 40px;
    box-sizing: border-box;
}

.proyectos-titular {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 220px;
}

.proyectos-titular-image {
    width: 100%;
    height: fit-content;
    aspect-ratio: 17 / 7;
}

.proyectos-titular-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyectos-titular-text {
    padding: 0 40px;
    box-sizing: border-box;
    max-width: 1622px;
    width: 100%;
    margin: auto;
    color: #FFF;
    font-size: 64px;
    font-weight: 700;
    line-height: 66px;
    letter-spacing: -2px;
}

@media (max-width: 1400px) {
    .proyectos-titular-text {
        max-width: 1135px;
        font-size: 44px;
        letter-spacing: -1.4px;
        line-height: 1.1;
    }

    .proyectos-titular {
        gap: 154px;
    }
}

@media (max-width: 900px) {
    .proyectos-titular-image {
        aspect-ratio: 1 / 2;
    }

    .proyectos-titular-text {
        padding: 0 20px;
        font-size: 34px;
    }

    .proyectos-titular-container .proyectos-single-text {
        padding: 0 20px;
    }
}


/* Otros Proyectos */

.other-projects-container {
    padding: 140px 40px;
    background-color: #E8E8E8;
}

.other-projects-header {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 70px;
}

.other-projects-header > h2 {
    margin: 0;
    color: #000;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.other-projects-header > img {
    width: 32px;
    height: 32px;
}

.other-projects {
    max-width: 1750px;
    width: 100%;
    margin: auto;
    display: flex;
    gap: 50px;
}

.other-projects > a {
    text-decoration: none;
}

.other-projects > a:nth-of-type(1) {
    width: 20%;
}

.other-projects > a:nth-of-type(2) {
    width: 50%;
}

.other-projects > a:nth-of-type(3) {
    width: 30%;
}

.other-project-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.other-projects > a:nth-of-type(1) .other-project-image {
    aspect-ratio: 376 / 382;
}

.other-projects > a:nth-of-type(2) .other-project-image {
    aspect-ratio: 712 / 289;
}

.other-projects > a:nth-of-type(3) .other-project-image {
    aspect-ratio: 565 / 384;
}

.other-project-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.other-project:hover .other-project-image > img {
    transform: scale(1.1);
}

.other-project-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.other-project-title > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.other-project-title img {
    height: 30px;
    transition: transform 0.3s ease;
    margin-top: 10px;
    filter: invert(1);
}

.other-project:hover .other-project-title img {
    transform: translateX(10px);
}

.other-project-title h3 {
    color: #000;
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    text-decoration: underline;
    line-height: 1;
}

.other-project-title label {
    color: #000;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1;
}

@media (max-width: 1400px) {
    .other-projects-container {
        padding: 100px 40px;
        background-color: #E8E8E8;
    }

    .other-project-title h3 {
        font-size: 26px;
    }

    .other-project-title label {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .other-projects-container {
        padding: 100px 20px;
    }

    .other-projects {
        flex-direction: column;
    }

    .other-projects > a {
        width: 100% !important;
    }

    .other-projects > a .other-project-image {
        aspect-ratio: 1 / 1 !important;
    }

    .other-projects-header > h2 {
        font-size: 40px;
        font-weight: 600;
        line-height: 35px;
        letter-spacing: -2.4px;
    }

    .other-projects-header > img {
        display: none;
    }
}

/* Variaciones de la página de proyectos */

.container-white {
    background-color: white;
}

.container-end {
    padding: 220px 40px !important;
    box-sizing: border-box;
}

.container-white h1,
.container-white h2,
.container-white span,
.container-white div,
.container-white label {
    color: black !important;
    border-color: black !important;
}

.proyectos-titular-text > label {
    color: #2559DD !important;
}

@media (max-width: 1400px) {
    .container-end {
        padding: 154px 40px !important;
    }
}

@media (max-width: 900px) {
    .container-end {
        padding: 154px 20px !important;
    }
}




