/**
 * Nexir · Home Features — estilos del bloque de la home.
 *
 * @author    Nexir (https://nexir.es)
 * @copyright Nexir
 * @license   https://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

.nxr-homefeatures {
    padding: 32px;
    margin: 0;
    background-color: var(--nxr-accent, #1f2937);
    border-radius: 8px;
    border: none;
    width: 100%;
    color: #fff;
    align-items: center;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nxr-homefeatures .nxr-homefeatures_content {
    display: flex;
    align-items: flex-start !important;
    gap: 52px !important;
}

/* Columna de imagen izquierda */
.nxr-homefeatures_img {
    width: 187px;
    height: 187px;
    object-fit: cover;
}

/* Contenido central */
.nxr-homefeatures_left {
    flex: 1 1 0;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    align-items: flex-start;
}

.nxr-homefeatures_left .title-before {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.nxr-homefeatures_left .title,
.nxr-homefeatures_left .title p {
    text-align: start;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin: 0 !important;
    color: #ffffff !important;
}

.nxr-homefeatures_left .subtitle,
.nxr-homefeatures_left .subtitle p {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff !important;
    margin: 0 !important;
}

.nxr-homefeatures_left .btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

/* Hover: inversión a fondo claro + texto en color de acento. */
.nxr-homefeatures_left .btn:hover,
.nxr-homefeatures_left .btn:focus-visible {
    background: #ffffff;
    color: var(--nxr-accent-dark, #1f2937);
    border-color: #ffffff;
}

.nxr-homefeatures_left .btn-primary:active,
.nxr-homefeatures_left .btn-primary:focus {
    background: #ffffff;
    color: var(--nxr-accent-dark, #1f2937);
    border: 1px solid #ffffff;
}

/* Features derecha */
.nxr-homefeatures_right {
    flex: 1 1 0;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
}

.nxr-homefeatures_right .nxr-homefeatures_feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #ffffff;
    font-size: 1.09rem;
}

.nxr-homefeatures_right .nxr-homefeatures_feature_text p {
    margin-bottom: 20px !important;
}

.nxr-homefeatures_right .nxr-homefeatures_feature_text p:last-child {
    margin-bottom: 0 !important;
}

.nxr-homefeatures_right .nxr-homefeatures_feature_text span {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.nxr-homefeatures_right .nxr-homefeatures_feature_text,
.nxr-homefeatures_right .nxr-homefeatures_feature_text p {
    color: #ffffff !important;
    display: flex;
    gap: 16px;
    margin: 0;
}

.nxr-homefeatures_right .nxr-homefeatures_feature_text p {
    align-items: flex-start;
}

/* Iconos SVG (servidos vía <img>) de cada característica */
.nxr-homefeatures_right .nxr-homefeatures_feature_text img {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: 1px;
}

/* Responsive */
@media (max-width: 1200px) {
    .nxr-homefeatures .nxr-homefeatures_content {
        gap: 40px !important;
    }
}

@media (max-width: 991px) {
    .nxr-homefeatures {
        padding: 32px 20px;
    }

    .nxr-homefeatures .nxr-homefeatures_content {
        flex-direction: column;
        align-items: stretch;
    }

    .nxr-homefeatures_img-col {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .nxr-homefeatures_img {
        width: 288px;
        height: 288px;
        object-fit: cover;
    }

    .nxr-homefeatures_left .btn {
        padding: 12px 24px;
    }
}