﻿.manuales-page {
    background: #000;
    color: #fff;
}

/* HERO */

.manuales-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    background-image: url('/assets/images/ManualesYTutoriales/manuales.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .manuales-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.12);
        z-index: 1;
    }

.manuales-hero-content {
    position: relative;
    z-index: 2;
    width: 55%;
    margin-left: auto;
    margin-right: 5rem;
    text-align: right;
}

    .manuales-hero-content p {
        font-size: clamp(1.4rem, 2.3vw, 2.8rem);
        font-weight: 300;
        font-style: italic;
        letter-spacing: 5px;
        margin-bottom: 1.2rem;
    }

    .manuales-hero-content h1 {
        font-size: clamp(3.2rem, 5vw, 6rem);
        font-weight: 800;
        letter-spacing: 6px;
        line-height: 1.15;
        margin-bottom: 2rem;
    }

    .manuales-hero-content span {
        display: block;
        font-size: clamp(1.1rem, 1.7vw, 2rem);
        font-weight: 300;
        line-height: 1.45;
    }

/* CONTENIDO */

.manuales-content {
    position: relative;
    background-image: url('/assets/images/ManualesYTutoriales/Rectángulo27.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 6rem 0 7rem;
    overflow: hidden;
}

.manuales-linea {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    opacity: .35;
    z-index: 1;
    pointer-events: none;
}

.manuales-content .container {
    position: relative;
    z-index: 2;
    max-width: 1550px;
}

.manuales-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
    align-items: end;
    margin-bottom: 6rem;
}

.manual-card {
    text-decoration: none;
    color: #fff;
    text-align: center;
    display: block;
}

    .manual-card img {
        width: 300px;
        max-width: 80%;
        margin-bottom: -2rem;
        position: relative;
        z-index: 2;
    }

.manual-card-box {
    min-height: 230px;
    border-radius: 38px;
    background: linear-gradient( to bottom, rgba(163, 128, 54, .78), rgba(146, 109, 42, .88) );
    box-shadow: inset 0 -8px 0 rgba(84, 58, 19, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    transition: all .3s ease;
}

.manual-card:hover .manual-card-box {
    transform: translateY(-5px);
    background: linear-gradient( to bottom, rgba(190, 143, 48, .9), rgba(155, 112, 35, .95) );
}

.manual-card-box h2 {
    font-size: clamp(1.5rem, 2.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

/* VIDEO / TUTORIAL */

.manuales-video {
    margin: 4rem auto 6rem;
    text-align: center;
}

    .manuales-video img {
        width: min(1200px, 92%);
        display: block;
        margin: 0 auto;
        box-shadow: 0 30px 60px rgba(0,0,0,.35);
    }

/* AYUDA */

.manuales-help {
    text-align: center;
    padding-top: 2rem;
}

    .manuales-help p {
        font-size: clamp(1.4rem, 2.2vw, 2.6rem);
        font-weight: 300;
        line-height: 1.4;
        margin-bottom: 3rem;
    }

.manuales-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 1.1rem 3rem;
    font-size: clamp(1.1rem, 1.5vw, 1.8rem);
    font-weight: 800;
    transition: all .3s ease;
}

    .manuales-btn:hover {
        background: #d5811a;
        color: #fff;
        transform: translateY(-3px);
    }

/* RESPONSIVE */

@media (max-width: 1199px) {

    .manuales-hero-content {
        width: 60%;
        margin-right: 3rem;
    }

    .manuales-cards {
        gap: 4rem;
    }
}

@media (max-width: 991px) {

    .manuales-hero {
        min-height: 85vh;
        background-position: center left;
    }

        .manuales-hero::after {
            background: rgba(0,0,0,.45);
        }

    .manuales-hero-content {
        width: 100%;
        margin: 0;
        padding: 3rem 1rem;
        text-align: center;
    }

    .manuales-cards {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .manual-card-box {
        min-height: 200px;
    }

    .manuales-help p {
        font-size: 1.6rem;
    }
}

@media (max-width: 575px) {

    .manuales-hero-content h1 {
        font-size: 2.6rem;
        letter-spacing: 2px;
    }

    .manuales-hero-content p,
    .manuales-hero-content span {
        letter-spacing: 2px;
    }

    .manuales-content {
        padding: 4rem 0 5rem;
    }

    .manual-card img {
        width: 220px;
    }

    .manual-card-box h2 {
        font-size: 1.5rem;
    }

    .manuales-help p {
        font-size: 1.1rem;
    }

    .manuales-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}
