/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Declaraciones generales */
:root {
    --light-color: #ffffff;
    --light-gray-color: #eaeaea;
    --gray-color: #808080;
    --dark-gray-color: #505050;
    --dark-color: #333333;
    --primary-color: #025585;
    --secondary-color: #001A30;
    --light-shadows: #00000038;
    --dark-shadows: #00000078;
    --transition: 250ms;
}

html {
    width: 100%;
    font-size: 14px;
    font-family: "Lato";
}

body {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.4em 0 0.7em;
}

/* Módulos */
.buttons-center,
.buttons-left,
.buttons-right {
    display: flex;
    align-items: center;
    width: 100%;
}

.buttons-left {
    justify-content: flex-start;
}

.buttons-center {
    justify-content: center;
}

.buttons-right {
    justify-content: flex-end;
}

.buttons__a {
    padding: 0.9em 2.1em;
    border-radius: 99px;
    transition: var(--transition);
    font-weight: 700;
    text-decoration: none;
}

/* Efectos */
.text-center {
    text-align: center;
}

.titles {
    color: var(--primary-color);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.text-light {
    color: var(--light-color);
}

/* Header */
.header {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    .brand {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
}

/* Slider Beneficios Fapasa */
#beneficios-fapasa {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 290px;
}

.carousel-control-prev,
.carousel-control-next {
    height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: cover;
    .carousel-item {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
}

/* Main */
.main {
    width: 100%;
}

.head-banner {
    width: 100%;
    height: 280px;
    margin: 0 0 2rem 0;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.beneficio-destacado {
    width: 100%;
    margin: 2rem 0;
    .beneficio-destacado__content {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        background-image: url(../img/ui/sportclub-bg.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        figure {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0.5rem 0;
            img {
                width: 100%;
                max-width: 450px;
            }
        }
        h4 {
            color: var(--dark-color);
            background-color: #FFD401;
            padding: 0.5rem 1rem;
            text-align: center;
            text-transform: uppercase;
            display: inline;
        }
    }
}

.bd-flyer {
    width: 100%;
    margin: 2rem 0;
    .bd-flyer__content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        div {
            width: 100%;
            max-width: 640px;
            img {
                width: 100%;
            }
        }
    }
}

.beneficios {
    width: 100%;
    padding: 0 2rem;
    .beneficios__content {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        align-items: stretch;
        justify-content: space-evenly;
        flex-wrap: wrap;
        .beneficios__item {
            width: 300px;
            border-radius: 15px;
            background-color: var(--light-color);
            margin: 1rem;
            border: 1px solid var(--light-gray-color);
            box-shadow: 5px 5px 10px var(--light-shadows);
            .beneficios__inner {
                width: 100%;
                .beneficios__logo {
                    width: 100%;
                    height: 230px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: relative;
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        object-position: center;
                        border-radius: 15px 15px 0 0;
                    }
                    .tag_value {
                        position: absolute;
                        top: 0;
                        right: 0;
                        width: 80px;
                        height: 80px;
                        border-radius: 99px;
                        background-color: var(--primary-color);
                        color: var(--light-color);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-wrap: wrap;
                        text-align: center;
                        transform: translate(22px, -25px) rotateZ(20deg);
                        span {
                            font-size: 2em !important;
                            font-weight: 800;
                            letter-spacing: 2px;
                            margin: -2rem 0;
                        }
                        small {
                            width: 100%;
                            font-weight: 700;
                            font-size: 0.9em !important;
                        }
                    }
                }
                .beneficios__info {
                    width: 100%;
                    padding: 0.5rem;
                }
            }
        }
    }
}

.wp-contact {
    width: 100%;
    padding: 2rem 1.5rem;
    background-color: var(--dark-color);
    .wp-contact__content {
        width: 100%;
        max-width: 998px;
        margin: 0 auto;
        a {
            text-decoration: none;
        }
        .wp-content__inner {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2rem;
            margin: 1.5rem 0;
            h4 {
                color: var(--light-color);
                font-size: 2.2em;
            }
            img {
                width: 100%;
                max-width: 115px;
            }
        }
    }
}

/* Banner de beneficios FAPASA */
.beneficios-fa {
    width: 100%;
    .beneficios-fa__banner {
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        .beneficios-fa__overlay {
            padding: 2rem;
            width: 100%;
            height: 100%;
            .beneficios-fa__logo {
                width: 100%;
                max-width: 200px;
                margin: 1rem auto;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }
            }
            .buttons__a {
                background-color: var(--light-color);
                color: var(--primary-color);
                border: 2px solid var(--light-color);
                &:hover {
                    background-color: transparent;
                    color: var(--light-color);
                    box-shadow: 0 0 10px var(--light-color);
                }
            }
        }
    }
}

/* Footer */
.footer {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    a {
        text-decoration: none;
    }
    .footer__content {
        display: flex;
        align-items: center;
        justify-content: center;
        img {
            width: 25px;
        }
        small {
            color: var(--light-color);
            margin-left: 0.5rem;
        }
    }
}