﻿.marcas-page {
    padding: 40px;
}

/* HERO */

.marcas-hero {
    height: 280px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    margin-bottom: 60px;
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('/Images/empresa/banner-marcas.jpg');
    background-size: cover;
    background-position: center;
}

.overlay-marcas {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
}

.badge-marcas {
    width: fit-content;
    background: rgba(255,255,255,.15);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.overlay-marcas h1 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 15px;
}

.overlay-marcas p {
    font-size: 18px;
    opacity: .9;
}

/* SECTION */

.marcas-section {
    margin-bottom: 50px;
}

/* CARD */

.marca-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: .35s;
}

    .marca-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,.12);
    }

/* IMG */

/*.marca-img-box {
    display: block;
    background: #f8fafc;
    padding: 30px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
*/
.marca-img-box {
    background: #f8fafc;
    padding: 25px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/*.marca-img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    transition: .3s;
}*/
.marca-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    max-height: 110px;
    object-fit: contain;
    transition: .3s;
}

.marca-card:hover .marca-img {
    transform: scale(1.05);
}

/* INFO */

.marca-info {
    padding: 28px;
    text-align: center;
}

    .marca-info h4 {
        font-size: 24px;
        font-weight: 700;
        color: #021850;
        margin-bottom: 18px;
    }

.marca-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

    .marca-link:hover {
        color: #021850;
        gap: 14px;
    }

/* RESPONSIVE */

@media screen and (max-width: 768px) {

    .marcas-page {
        padding: 15px;
    }

    .marcas-hero {
        height: 220px;
        border-radius: 22px;
    }

    .overlay-marcas {
        padding: 25px;
    }

        .overlay-marcas h1 {
            font-size: 36px;
        }

        .overlay-marcas p {
            font-size: 15px;
        }

    .marca-img-box {
        height: 180px;
        padding: 20px;
    }

    .marca-info {
        padding: 22px;
    }

        .marca-info h4 {
            font-size: 20px;
        }
}

.marca-card {
    text-align: center;
}

.marca-info {
    padding-top: 10px;
}

.marca-img-box {
    background: linear-gradient( 135deg, #f8fafc, #eef2ff );
}