.pagina-mantenimiento {
    margin-top: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    text-align: center;
    padding: 2rem;
    background: #f7f7f7;
}
.mantenimiento-container {
    max-width: 600px;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.6s ease-in-out;
}
.mantenimiento-container h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #d9534f;
}
.mantenimiento-container p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #333;
}
.mantenimiento-container a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}
.mantenimiento-container a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}
/*
//////////
---HERO---
//////////
*/

.hero-about-us h1 {
    color: var(--text-light);
    margin-bottom: 1.4rem;

}

.trajectory-section, .gallery-section, .contact-us-section {
    background-color: var(--text-light);
}

/*
/////////////////////
---TRAJECTORY-TEAM---
/////////////////////
*/

.trajectory-section, .galery-section, .contact-us-section {
    background-image: url('../images/fondo-web.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.trajectory-section {
    border-top: 1px solid var(--text-gray-1);
    border-bottom: 1px solid var(--text-gray-1);
}

.trajectory-section, .our-team-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.trajectory-section img, .our-team-section img {
    width: 400px;
    object-fit: cover;
}

.our-team-section {
    flex-direction: row-reverse;
}

.our-team-section img {
    object-fit: cover;
}

.ts-content {
    text-align: left;
    margin-left: 4rem;
    width: 40%;
}

.ots-content {
    text-align: right;
    margin-right: 4rem;
    width: 40%;
}

.ts-content p, .ots-content p {
    color: var(--text-gray-4);
}

.ts-c-text, .ots-c-text {
    overflow-y: scroll;
    max-height: 260px;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.08) rgba(0,0,0,0.01);
}

/* Webkit browsers */
.ts-c-text::-webkit-scrollbar, .ots-c-text::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.ts-c-text::-webkit-scrollbar-thumb, .ots-c-text::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.08);
    border-radius: 6px;
}

.ts-c-text::-webkit-scrollbar-track, .ots-c-text::-webkit-scrollbar-track {
    background: transparent;
}

.ts-c-text::after, .ots-c-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3em;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--text-light) 100%);
    pointer-events: none;
}

.ots-c-text::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--bg-color) 100%);
}

/*
/////////////
---GALLERY---
/////////////
*/

.galery-section {
    background-color: var(--text-light);
    border-top: 1px solid var(--text-gray-1);
    border-bottom: 1px solid var(--text-gray-1);
}

.gs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.gs-img {
    background-color: var(--text-gray-1);
    height: 320px;
    min-width: 200px;
    max-width: 280px;
    width: 100%;
}
.gs-img img {
    height: 100%;
    object-fit: cover;
}

/*
////////////////
---CONTACT-US---
////////////////
*/
.contact-us-section a {
    color: var(--text-light);
    background-color: var(--main-color);
    padding: .8rem 2rem;
    border-radius: 5px;
    margin-top: .5rem;
}

.contact-us-section a:hover {
    background-color: var(--main-color-hover) !important;
    color: var(--text-light) !important;
}


@media screen and (max-width: 990px) {
    .ots-content, .ts-content {
        width: 100%;
        margin: 0;
        margin-top: 2rem;
        text-align: center;
    }

    .gs-container {
        grid-template-columns: repeat(auto-fill, 1fr);
        grid-template-rows: repeat(auto-fill, 1fr);
    }

    .ts-c-text, .ots-c-text {
        overflow-y: hidden;
        max-height: none;
    }

    .ts-c-text::after, .ots-c-text::after {
        background: none;
    }
}

@media screen and (max-width: 500px) {
    .gs-img {
        max-width: none;
        width: 100%;
    }
}