/* ============================================================
   what-is.css — Sección Qué es Biplo
   ============================================================ */

/* --- QUÉ ES BIPLO --- */
.what-is {
    position: relative;
    z-index: 10;
}

.what-is-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 80px;
    align-items: center;
}

.hero-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.what-is-content h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-weight: 800;
}

.what-is-content p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.what-is-list li {
    display: flex;
    align-items: center;
    /* Alineación vertical perfecta */
    gap: 15px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.what-is-list i {
    color: var(--primary);
    font-size: 18px;
    background: #F3E8FF;
    width: 38px;
    /* Ancho fijo para asegurar un círculo/cuadro simétrico */
    height: 38px;
    /* Alto fijo para asegurar un círculo/cuadro simétrico */
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Evita que el contenedor del icono se deforme */
}

.what-is-image {
    position: relative;
    width: 100%;
    height: 420px;
    background: #E5E7EB;
    border-radius: 24px;
    /* SIN overflow: hidden aquí */
}

.what-is-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    /* el recorte va aquí, no en el padre */
}

.what-is-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
}

.fb-1 {
    top: 30px;
    right: 30px;
}

.fb-2 {
    bottom: 60px;
    left: -80px;
}

.fb-3 {
    bottom: 30px;
    right: 30px;
}

/* --- RESPONSIVE: QUÉ ES BIPLO --- */

@media (max-width: 1024px) {
    .what-is-grid {
        grid-template-columns: 1fr;
        /* Colapsa a una sola columna */
        gap: 40px;
        /* Reduce el espacio intermedio */
    }

    .what-is-image {
        max-width: 600px;
        margin: 0 auto;
        /* Centra la imagen en tabletas */
    }
}

@media (max-width: 768px) {
    .section-panel.what-is {
        padding: 40px 24px;
        /* Reduce el relleno interior del panel */
        border-radius: 24px;
        /* Bordes un poco más sutiles en pantallas chicas */
        margin: 40px 16px;
        /* Añade un margen externo para no tocar los bordes físicos */
        margin-top: 10px !important;
        /* Ajuste este valor si requiere más o menos cercanía */

    }

    .what-is-content h2 {
        font-size: 30px;
        /* Disminuye el tamaño del título */
        line-height: 1.2;
    }

    .what-is-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .what-is-list li {
        font-size: 14px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .what-is-list i {
        width: 34px;
        height: 34px;
        font-size: 15px;
        /* Iconos ligeramente más pequeños */
    }

    .what-is-image {
        height: 320px;
        /* Reduce la altura de la imagen decorativa */
    }

    /* Ajuste de etiquetas flotantes para evitar desbordamientos */
    .floating-badge {
        padding: 8px 12px;
        font-size: 11px !important;
        border-radius: 10px;
    }

    .floating-badge b {
        font-size: 13px !important;
    }

    .fb-1 {
        top: 20px;
        right: 20px;
    }

    .fb-2 {
        bottom: 55px;
        left: -10px;
        /* Reduce el desfase negativo para que no se salga de la pantalla */
    }

    .fb-3 {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .section-panel.what-is {
        padding: 30px 16px;
    }

    .what-is-content h2 {
        font-size: 26px;
    }

    .what-is-image {
        height: 250px;
        /* Ajuste para pantallas muy estrechas */
    }

    /* Reducción proporcional de los badges flotantes */
    .floating-badge {
        padding: 6px 10px;
        font-size: 10px !important;
        gap: 8px;
    }

    .floating-badge b {
        font-size: 11px !important;
    }

    .floating-badge i {
        font-size: 14px !important;
    }

    .fb-1 {
        top: 12px;
        right: 12px;
    }

    .fb-2 {
        bottom: 55px;
        left: -30px;
        /* Coloca la etiqueta dentro de la imagen para evitar cortes */
    }

    .fb-3 {
        bottom: 6px;
        right: -16px;
    }
}



