/* Descarga de Recursos - Página */

.downloads-header {
    padding: 8rem 2rem 4rem 2rem;
    max-width: 98rem;
    margin: 0 auto;
    text-align: center;
}

.downloads-header h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 3.6rem;
    line-height: 1.1em;
    margin-bottom: 0;
    padding-bottom: 2rem;
    position: relative;
}

.downloads-header h1::after {
    content: "";
    display: flex;
    position: absolute;
    height: 3px;
    width: 6rem;
    border-bottom: 3px solid #0ce8ab;
    left: 50%;
    bottom: 0;
    margin-left: -3rem;
}

.downloads-content {
    background-color: #f3f3f3;
    padding: 4rem 2rem;
}

.downloads-content h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1em;
    text-align: center;
    margin: 0 auto 4rem auto;
    max-width: 98rem;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 122rem;
    margin: 0 auto;
}

.download-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 5px 28px 0 rgba(0,0,0,.1);
    transition: all .2s ease-out;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card:hover {
    box-shadow: 0 5px 36px 0 rgba(0,0,0,.3);
    transform: scale(1.02);
}

.download-image {
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.download-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.download-text {
    padding: 3rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.download-text h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1.2em;
    color: #000;
    margin: 0 0 1rem 0;
}

.download-text p {
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem;
    line-height: 1.4em;
    color: #555;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.btn-download {
    display: inline-block;
    background-color: #564bfd;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    padding: 1.2rem 2.4rem;
    border-radius: 3rem;
    border: 2px solid #564bfd;
    text-align: center;
    transition: all .2s ease;
}

.download-card:hover .btn-download {
    background-color: transparent;
    color: #564bfd;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .downloads-header {
        padding: 6rem 2rem 3rem 2rem;
    }

    .downloads-header h1 {
        font-size: 2.8rem;
    }

    .downloads-content {
        padding: 4rem 2rem 6rem 2rem;
    }

    .downloads-content h2 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1025px) {
    .downloads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
