/* ============================================================
   BURGOCAR LANDING CORE — Hero Features Styles
   BEM + CSS Custom Properties
   ============================================================ */
:root {
    --blc-hero-overlay: #0B544B; /* Verde corporativo Burgocar */
    --blc-hero-title: #ffffff;
    --blc-hero-subtitle: #9AC123; /* Verde claro */
    --blc-feature-bg: #ffffff;
    --blc-feature-icon: #0B544B; /* Verde oscuro */
    --blc-feature-title: #0B544B;
    --blc-feature-text: #999999;
    --blc-hero-font: 'Catamaran', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --blc-title-font: 'Bitter', serif;
    --blc-subtitle-font: 'Google Sans', sans-serif;
}

.blc-hero-features {
    position: relative;
    font-family: var(--blc-hero-font);
    /* Se añade padding bottom para compensar el margen negativo de la caja flotante */
    padding-bottom: 60px;
}

/* 1. Hero Banner */
.blc-hero-features__banner {
    position: relative;
    padding: 180px 30px 240px; /* Extra espacio debajo para la caja */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111; /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
}

.blc-hero-features__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--blc-hero-overlay);
    z-index: 1;
}

.blc-hero-features__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.blc-hero-features__subtitle {
    font-family: var(--blc-subtitle-font);
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blc-hero-subtitle);
    margin-bottom: 0;
    font-style: normal;
    letter-spacing: 4px;
}

.blc-hero-features__title {
    font-family: var(--blc-title-font);
    font-size: 4.5rem;
    font-weight: 500;
    color: var(--blc-hero-title);
    line-height: 1.1;
    margin: 0 0 20px 0;
}

/* Botón (Opcional, según imagen) */
.blc-hero-features__btn {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 36px;
    background-color: var(--blc-hero-subtitle);
    color: #111;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.blc-hero-features__btn:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
}

/* 2. Tarjeta Flotante Solapada */
.blc-hero-features__overlap {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: -120px auto 0; /* Margen negativo para subir sobre el Hero */
    background-color: var(--blc-feature-bg);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 60px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* Ajuste para que no roce los bordes de la pantalla en móvil */
    width: calc(100% - 40px);
}

/* 3. Bloques de Características */
.blc-hero-features__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.blc-hero-features__icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blc-feature-icon);
    font-size: 45px;
}

.blc-hero-features__icon img,
.blc-hero-features__icon svg {
    width: 100%;
    height: auto;
    max-height: 100%;
    fill: currentColor;
    object-fit: contain;
}

.blc-hero-features__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blc-hero-features__item-title {
    font-family: var(--blc-title-font);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blc-feature-title);
    margin: 0;
    line-height: 1.2;
}

.blc-hero-features__item-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--blc-feature-text);
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .blc-hero-features__title {
        font-size: 3.5rem;
    }
    
    .blc-hero-features__banner {
        padding: 160px 30px 200px;
    }
    
    .blc-hero-features__overlap {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 30px;
        margin-top: -80px;
    }

    .blc-hero-features__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .blc-hero-features__banner {
        padding: 130px 20px 160px;
    }
    
    .blc-hero-features__title {
        font-size: 2.5rem;
    }
    
    .blc-hero-features__overlap {
        margin-top: -60px;
        padding: 30px 20px;
        width: calc(100% - 30px);
    }
}
