/* ================================
FEATURES / SERVICIOS
================================ */
.features-section {
    padding: 80px 40px;
    margin-top: 120px;
    background: #f5f8fc;
}

/* CONTENEDOR (por si no usas bootstrap completo) */
.features-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* COLUMNAS */
.features-section .col-md-4 {
    flex: 1 1 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
}
.features-section h2 {
    font-size:36px;
    color:#fff !important;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(
        90deg,
        #222,
        #777,
        var(--rojo)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TARJETA */
.feature-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;

    height: 100%;
    display: flex;
    flex-direction: column;
}

/* IMAGEN */
.feature-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENIDO */
.feature-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0a2540;
    margin: 20px 20px 10px;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 20px 20px;
    flex-grow: 1;
}

/* HOVER EFECTO PREMIUM */
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* BORDE AZUL SUTIL EN HOVER */
.feature-box:hover {
    border: 1px solid rgba(0,123,255,0.2);
}

/* ================================
RESPONSIVE
================================ */
@media (max-width: 992px) {
    .features-section .col-md-4 {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 600px) {
    .features-section .col-md-4 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}






/* CONTENEDOR */
.feature-buttons {
    display: flex;
    gap: 12px;
    margin: 20px;
}

/* BASE */
.feature-buttons a {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    overflow: hidden;
    transition: all 0.3s ease;
}

/* WHATSAPP (GLASS + GRADIENT) */
.btn-wsp {
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* CORREO (AZUL TECH) */
.btn-mail {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* HOVER PRO */
.feature-buttons a:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* EFECTO BRILLO */
.feature-buttons a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.feature-buttons a:hover::after {
    left: 100%;
}