/* ================================
ABOUT
================================ */
.about{
    text-align:center;
    margin-top: 150px;
}

/* TITULO */
.about h2{
    font-size:36px;
    margin-bottom:10px;

    background: linear-gradient(
        90deg,
        #111,
        #666,
        var(--rojo)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about .sub{
    color: var(--gris-oscuro);
    margin-bottom:60px;
}

/* GRID */
.about-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
    gap:30px;
    max-width:1100px;
    margin:auto;
}

/* CARD */
.about-card{

    background: linear-gradient(
        145deg,
        #ffffff,
        #f5f6f8,
        #e9ecef
    );

    padding:30px;
    border-radius:20px;

    text-align:center;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.7);

    border:1px solid var(--gris-medio);

    transition:0.4s;
}

/* IMAGEN */
.about-card img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:15px;

    border:2px solid var(--gris-medio);
}

/* TITULO */
.about-card h3{
    margin-bottom:10px;
    color: var(--texto);
    transition:0.3s;
}

/* TEXTO */
.about-card p{
    font-size:14px;
    color: var(--gris-oscuro);
    line-height:1.6;
}

/* HOVER */
.about-card:hover{
    transform:translateY(-10px) scale(1.03);

    box-shadow:
        0 25px 50px rgba(0,0,0,0.12),
        0 0 20px rgba(229,57,53,0.15);
}

/* TITULO HOVER */
.about-card:hover h3{
    color: var(--rojo);
}

/* EFECTO BRILLO */
.about-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;


    transition:0.6s;
}

.about-card:hover::before{
    left:100%;
}












/* ================================
BLOG PRO (EDITORIAL)
================================ */
.blog{
    padding:20px 40px;
    margin-top: 150px;
    background: var(--blanco);
}

.blog h2{
    text-align:center;
    font-size:36px;
    margin-bottom:50px;

    background: linear-gradient(
        90deg,
        #222,
        #777,
        var(--rojo)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* LAYOUT */
.blog-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    max-width:1100px;
    margin:auto;
}

/* ================================
FEATURE
================================ */
.blog-feature{
    position:relative;
    height:350px;
    border-radius:20px;
    overflow:hidden;
}

.blog-feature img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.6s ease;

    filter: brightness(1.05);
}

/* OVERLAY (oscuro suave para legibilidad) */
.blog-feature .info{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:25px;

    background: linear-gradient(
        rgba(255,255,255,0),
        rgba(0,0,0,0.65)
    );

    color:#fff;
}

.blog-feature h3{
    font-size:22px;
    margin:10px 0;
    color:#fff;
}

/* ================================
LISTA
================================ */
.blog-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

/* MINI */
.blog-mini{
    display:flex;
    gap:15px;
    align-items:center;

    background:#ffffff;
    padding:10px;
    border-radius:15px;

    border:1px solid var(--gris-medio);

    box-shadow:
        0 6px 15px rgba(0,0,0,0.05);

    transition:0.3s;
}

.blog-mini img{
    width:90px;
    height:70px;
    object-fit:cover;
    border-radius:10px;
}

.blog-mini h3{
    font-size:14px;
    color:#222;
    transition:0.3s;
}

/* TAG */
.tag{
    font-size:11px;
    background:var(--rojo);
    padding:3px 10px;
    border-radius:20px;
    color:#fff !important;
}

/* HOVER */
.blog-mini:hover{
    transform:translateX(5px);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.08);

    border:1px solid rgba(229,57,53,0.25);
}

.blog-mini:hover h3{
    color: var(--rojo);
}

/* RESPONSIVE */
@media(max-width:768px){
    .blog-layout{
        grid-template-columns:1fr;
    }

    .blog-feature{
        height:250px;
    }
}
/* ================================
GARANTIAS
================================ */
/* ================================
GARANTIAS PRO
================================ */
.garantias{
    padding:40px 40px;
    background: var(--blanco);
}

/* CONTENEDOR */
.garantias-box{
    max-width:1000px;
    margin:auto;
    text-align:center;
}

/* ================================
MENSAJE PRINCIPAL
================================ */
.gar-main h2{
    font-size:38px;
    margin-bottom:15px;

    background: linear-gradient(
        90deg,
        #222,
        #777,
        var(--rojo)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gar-main p{
    color:#666;
    max-width:600px;
    margin:0 auto 60px;
    line-height:1.6;
}

/* ================================
LISTA
================================ */
.gar-list{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

/* ITEM */
.gar-item{
    text-align:center;
    transition:0.3s;
}

/* NUMERO GRANDE */
.gar-item span{
    font-size:40px;
    font-weight:700;
    display:block;
    margin-bottom:10px;

    color:rgba(0,0,0,0.08);
}

/* TITULO */
.gar-item h3{
    color: var(--texto);
    transition:0.3s;
}

/* HOVER */
.gar-item:hover{
    transform:translateY(-5px);
}

/* HOVER TITULO */
.gar-item:hover h3{
    color: var(--rojo);
}

/* LINEA SEPARADORA */
.gar-item::after{
    content:"";
    display:block;
    width:40px;
    height:2px;
    margin:10px auto 0;

    background: var(--rojo);
    opacity:0.3;
}

/* RESPONSIVE */
@media(max-width:768px){
    .gar-main h2{
        font-size:28px;
    }
}





































/* CTA CON IMAGEN */
.cta{
    padding:100px 40px;
    text-align:center;
margin-top: 20px !important;
margin-bottom: 20px !important;
    position:relative;
    overflow:hidden;

    border-radius:30px;
    margin:0 auto;
    max-width:1100px;

    color:#fff !important;

    /* 🔥 IMAGEN */
    background: url('../img/vision.jpg') center/cover no-repeat;
}

/* 🔥 OVERLAY OSCURO (CLAVE) */
.cta::before{
    content:"";
    position:absolute;
    inset:0;

    background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.7)
    );
}

/* ASEGURAR QUE EL CONTENIDO QUEDE ENCIMA */
.cta-content{
    position:relative;
    z-index:2;
}

/* CONTENIDO */
.cta-content h2{
    font-size:36px;
    color:#fff !important;

    background: linear-gradient(
        90deg,
        #222,
        #777,
        var(--rojo)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p{
    max-width:600px;
    margin:0 auto 30px;
    font-size:16px;
    color:#ffffff;
}

/* BOTONES */
.cta-botones{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:25px;
}
.cta-botones a {
    color: rgb(0, 0, 0) !important;
}

/* BOTÓN PRINCIPAL */
.btn.primary{
background: linear-gradient(
    135deg,
    #25D366,
    #1ebe5d
) !important;
    color:#fff;
    border:none;
}

/* BOTÓN SECUNDARIO */
.btn.secondary{
    background: transparent;
    color:#ffffff !important;
    border:1px solid var(--gris-medio);
}

/* HOVER */
.btn.secondary:hover{
    border:1px solid var(--rojo);
    color:var(--rojo);
}

/* EXTRA */
.cta-extra{
    display:flex;
    justify-content:center;
    gap:20px;
    font-size:14px;
    flex-wrap:wrap;
    color:#777;
}

/* RESPONSIVE */
@media(max-width:768px){
    .cta-content h2{
        font-size:28px;
    }
}
.cta-content h2{
    color:#fff !important;
    -webkit-text-fill-color: #fff !important;
}
