/* ==========================
   HERO
========================== */

.automotriz-hero{

    min-height:55vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    background:
    linear-gradient(
        rgba(0,0,0,.75),
        rgba(0,0,0,.55)
    ),
    url('../imagenes/banners/banner-category.png')
    center center/cover no-repeat;

    padding:120px 20px 80px;
}

.hero-content{

    max-width:850px;
}

.hero-content span{

    display:inline-block;

    background:rgba(255,255,255,.15);

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:20px;
}

.hero-content h1{

    font-size:clamp(2.5rem,5vw,4.5rem);

    margin-bottom:20px;
}

.hero-content p{

    font-size:1.1rem;

    line-height:1.8;
}

/* ==========================
   INTRO
========================== */

.categoria-intro{

    padding:90px 8%;

    text-align:center;
}

.intro-text{

    max-width:900px;

    margin:auto;
}

.intro-text h2{

    font-size:2.5rem;

    margin-bottom:20px;
}

.intro-text p{

    color:#666;

    line-height:1.9;
}

/* ==========================
   BENEFICIOS
========================== */

.beneficios{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    padding:0 8% 90px;
}

.beneficio{

    background:white;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 10px 25px rgba(0,0,0,.06);
}

.beneficio h3{

    margin-bottom:15px;

    color:#e60012;
}

/* ==========================
   PRODUCTOS
========================== */

.productos-categoria{

    background:#f8f9fa;

    padding:90px 8%;
}

.productos-categoria h2{

    text-align:center;

    margin-bottom:50px;

    font-size:2.5rem;
}

.grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;
}

/* ==========================
   CARD PRODUCTOS
========================== */

.product-card{

    background:white;

    border-radius:25px;

    overflow:hidden;

    transition:.35s;

    box-shadow:
    0 10px 25px rgba(0,0,0,.06);
}

.product-card:hover{

    transform:translateY(-10px);
}

.product-card img{

    width:100%;

    height:280px;

    object-fit:contain;

    padding:20px;

    background:#f8f9fa;
}

.product-info{

    padding:25px;
}

.product-info h3{

    margin-bottom:10px;
}

.product-info p{

    color:#666;

    margin-bottom:20px;

    line-height:1.7;
}

.product-btn{

    display:block;

    text-align:center;

    text-decoration:none;

    background:#00a63f;

    color:white;

    padding:14px;

    border-radius:40px;

    font-weight:700;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .hero-content h1{

        font-size:2.2rem;
    }

    .intro-text h2{

        font-size:2rem;
    }

    .productos-categoria h2{

        font-size:2rem;
    }
}